hanchenye-llvm-project/lldb
Raphael Isemann c494481ea4 Add assert for 'bad' code path in GetUniqueNamespaceDeclaration
Summary:
If we call this function with a non-namespace as a second argument (and a nullptr name), we currently
only get a nullptr as a return when we hit the "Bad!!!" code path. This patch just adds an assert as this
seems to be a programming error in the calling code.

Reviewers: shafik

Subscribers: abidh, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D57880

llvm-svn: 365157
2019-07-04 19:49:31 +00:00
..
cmake [CMake] Avoid libcxxabi dependency when building LLDB from the monorepo on macOS 2019-07-03 13:21:48 +00:00
docs [Docs] Remove stale builder 2019-07-03 20:53:57 +00:00
examples Use the // integer divide operator in these 2019-06-26 21:41:07 +00:00
include/lldb Refactor ObjectFile::GetSDKVersion 2019-07-03 22:21:10 +00:00
lit [DWARF] Add one more type unit test 2019-07-02 07:57:08 +00:00
lldb.xcodeproj add symbols/declvendor.cpp. 2019-07-02 23:06:13 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite [lldb] [lldbsuite] Use a unique class name for TestValueVarUpdate 2019-07-01 22:12:55 +00:00
resources
scripts [swig] Don't mess with swig internals. 2019-07-02 22:18:35 +00:00
source Add assert for 'bad' code path in GetUniqueNamespaceDeclaration 2019-07-04 19:49:31 +00:00
test [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [CMake] Check that a certificate for lldb is present at build time. 2019-06-25 17:13:24 +00:00
unittests Add a sanity check to the domain socket tests. 2019-06-27 16:45:23 +00:00
utils [CMake] Fix lldb-dotest for single-config generators in standalone builds 2019-06-13 17:35:43 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] LLDB.framework tools handling 2019-05-29 11:26:06 +00:00
CODE_OWNERS.txt
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py