This makes parsing the symbol table of clang ~10ms faster. (Hashtable versus tree).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lldb/include/lldb/Utility/ConstString.h | ||
---|---|---|
441 | You could declare the specific instantiation (DenseMapInfo<ConstString>) as a friend instead of the whole template. | |
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | ||
2499 | It looks like the values for these are coming straight from the object file (aka user input). Are you ok with asserting on "resolvers" like 0xff...ff ? |
Comment Actions
Pavel correctly pointed out that this isn't necessarily correct, because the addresses could conflict with the Tombstone/Empty keys.
You could declare the specific instantiation (DenseMapInfo<ConstString>) as a friend instead of the whole template.