summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/ConstString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Utility/ConstString.cpp')
-rw-r--r--lldb/source/Utility/ConstString.cpp5
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
OpenPOWER on IntegriCloud