This is PR33097.
Previously when doing relocatable link, all IR symbols were absent
in result object file. Patch makes external symbols to be exported.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This is fine, but maybe too conservative.
You just need to keep externals, not everything in a relocatable (unless being in a relocatable implies being external, in which case, that needs a comment :)
I proposed an alternative https://reviews.llvm.org/D36959 (feel free to take a look and review/reply)
Comment Actions
Apologies, this should be fine.
Peter made me realize we should never see STB_LOCAL here.