hanchenye-llvm-project/lldb/source
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
..
API [Symbol] Add DeclVendor::FindTypes 2019-07-02 19:53:07 +00:00
Breakpoint [Target] Decouple ObjCLanguageRuntime from LanguageRuntime 2019-06-21 19:43:07 +00:00
Commands [Expression] Add PersistentExpressionState::GetCompilerTypeFromPersistentDecl 2019-06-12 17:47:06 +00:00
Core [Core] Generalize ValueObject::IsRuntimeSupportValue 2019-07-01 20:36:33 +00:00
DataFormatters [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
Expression Fix for r364686 - actually set symbol_is_missing_weak... 2019-07-02 23:38:07 +00:00
Host Revert "Add ReadCStringFromMemory for faster string reads" 2019-06-25 22:22:13 +00:00
Initialization [Reproducers] Include lldb version in the reproducer root 2019-06-13 04:35:22 +00:00
Interpreter Fix a typo in help text. 2019-06-25 23:13:16 +00:00
Plugins Plugins: permit building on Windows ARM64 2019-07-04 19:26:49 +00:00
Symbol Add assert for 'bad' code path in GetUniqueNamespaceDeclaration 2019-07-04 19:49:31 +00:00
Target [Core] Generalize ValueObject::IsRuntimeSupportValue 2019-07-01 20:36:33 +00:00
Utility [Reproducers] Copy over access/modification time in the FileCollector. 2019-06-26 18:14:31 +00:00
CMakeLists.txt [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00
lldb.cpp [CMake] Remove Apple-specific version logic. 2019-04-17 18:23:22 +00:00