Turns own that IsUsedInRegularObject is set for lazy (archive) symbols.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Turns own that IsUsedInRegularObject is set for lazy (archive) symbols.
Should we fix that, then?
Comment Actions
It correct according to the comment in ELF/Symbols.h:
// True if the symbol was used for linking and thus need to be added to the // output file's symbol table. This is true for all symbols except for // unreferenced DSO symbols and bitcode symbols that are unreferenced except // by other bitcode objects. unsigned IsUsedInRegularObj : 1;
I guess objects in archives are still regular objects.