[PATCH] D46021: [DEBUGINFO] Disable emission of the dwarf sections, but allow directives.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 1 12:12:48 PDT 2018


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

- Naming of "DebugDirectivesOnly" could maybe be improved but I can't think of anything better - can be changed later if someone comes up with a better name in post-commit review
- Probably add a helper function to DwarfCompileUnit to test if the CUNode specifies DebugDirectivesOnly ("bool DwarfCompileUnit::hasDebugDirectivesOnly()" for example) & use that everywhere, since this test is done in enough places and is a bit verbose as-is.


Repository:
  rL LLVM

https://reviews.llvm.org/D46021





More information about the llvm-commits mailing list