[PATCH] D44385: [DEBUGINFO] Add flag -no-dwarf-gnu-pub-sections to disable gnu pub sections.

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 19 09:57:46 PDT 2018


echristo accepted this revision.
echristo added a comment.
This revision is now accepted and ready to land.

In https://reviews.llvm.org/D44385#1034799, @dblaikie wrote:

> 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)


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


Repository:
  rL LLVM

https://reviews.llvm.org/D44385





More information about the llvm-commits mailing list