If you need only Name and Value fields in a COFF symbol,
this data structure is one pointer smaller (or half of) COFFSymbolRef.
I'll use this class in LLD because we create millions of instances
for symbols read from the symbol table, and the size of the symbol
reference actually matters.
Details
Details
- Reviewers
majnemer
Diff Detail
Diff Detail
Event Timeline
lib/Object/COFFObjectFile.cpp | ||
---|---|---|
871–872 | I think it would make more sense to change the original getSymbolName implementation's Symbol to coff_symbol_generic and then have an overload for COFFSymbolRef. |
I think it would make more sense to change the original getSymbolName implementation's Symbol to coff_symbol_generic and then have an overload for COFFSymbolRef.