[Lldb-commits] [lldb] r339716 - Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first
Stefan Granitz via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 14 12:38:55 PDT 2018
Author: stefan.graenitz
Date: Tue Aug 14 12:38:54 2018
New Revision: 339716
URL: http://llvm.org/viewvc/llvm-project?rev=339716&view=rev
Log:
Remove asseration from ConstString::GetConstCStringAndSetMangledCounterPart() to fix more tests first
Modified:
lldb/trunk/source/Utility/ConstString.cpp
Modified: lldb/trunk/source/Utility/ConstString.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Utility/ConstString.cpp?rev=339716&r1=339715&r2=339716&view=diff
==============================================================================
--- lldb/trunk/source/Utility/ConstString.cpp (original)
+++ lldb/trunk/source/Utility/ConstString.cpp Tue Aug 14 12:38:54 2018
@@ -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
More information about the lldb-commits
mailing list