diff options
author | Stefan Granitz <stefan.graenitz@gmail.com> | 2018-08-14 19:38:54 +0000 |
---|---|---|
committer | Stefan Granitz <stefan.graenitz@gmail.com> | 2018-08-14 19:38:54 +0000 |
commit | 4aaa72f98f26b59c52f9cb5f8f318301e15266b1 (patch) | |
tree | 7d06ebfca78fd3701cf812e4771f1a85685084e0 /lldb/source/Utility/ConstString.cpp | |
parent | ffa7010b8c9b5f309aa8d44c49c90f9b6f421a3a (diff) | |
download | bcm5719-llvm-4aaa72f98f26b59c52f9cb5f8f318301e15266b1.tar.gz bcm5719-llvm-4aaa72f98f26b59c52f9cb5f8f318301e15266b1.zip |
Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first
llvm-svn: 339716
Diffstat (limited to 'lldb/source/Utility/ConstString.cpp')
-rw-r--r-- | lldb/source/Utility/ConstString.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lldb/source/Utility/ConstString.cpp b/lldb/source/Utility/ConstString.cpp index d4bfbcc7a64..3344710e204 100644 --- a/lldb/source/Utility/ConstString.cpp +++ b/lldb/source/Utility/ConstString.cpp @@ -123,11 +123,6 @@ public: StringPool &map = m_string_pools[h].m_string_map; StringPoolEntryType &entry = *map.try_emplace(demangled).first; - assert((entry.second == nullptr || entry.second == mangled_ccstr || - strlen(entry.second) == 0) && - "The demangled string must have a unique counterpart or otherwise " - "it must be empty"); - entry.second = mangled_ccstr; // Extract the const version of the demangled_cstr |