We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63c32d9 + 599fd66 commit d3c99f4Copy full SHA for d3c99f4
src/goto-programs/name_mangler.h
@@ -121,10 +121,9 @@ class function_name_manglert
121
122
auto inserted = model.goto_functions.function_map.emplace(
123
pair.second, std::move(found->second));
124
- INVARIANT(
125
- inserted.second,
126
- "The mangled name '" + std::string(pair.second.c_str()) +
127
- "' should not already exist in the codebase");
+ if(!inserted.second)
+ log.debug() << "Found a mangled name that already exists: "
+ << std::string(pair.second.c_str()) << log.eom;
128
129
model.goto_functions.function_map.erase(found);
130
}
0 commit comments