Added a flag -no-dwarf-gnu-pub-sections, which allows to disable
emission of gnu public sections.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
What's the use-case/motivation? Should this be an IR feature (on a per-CU
basis, so that LTO can correctly respect some CUs requesting this feature,
and some disabling it)
Comment Actions
Right now the idea is that we're going to want to turn off certain kinds of sections for nvptx based assembly (same as the other patch). I think we can possibly come up with dwarf/elf ways to encode this data, but in the short term let's get asm printer (and use a flag to set it up piece by piece testable) and then we can try to figure out ways to actually get the data out in the long term.
I'm going to accept this for now as I had an offline conversation with Dave earlier about this. If there's any review I think it can be post-commit here.
Thanks all!
-eric