[PATCH] D118754: [DebugInfo] Always emit `.debug_names` with dwarf 5 for Apple platforms

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 7 11:47:39 PST 2022


probinson added a comment.

Would it work to change the driver handling of `-gpubnames` to default on (instead of off) for Apple targets?  Then you'd be able to turn them off with the expected `-gno-pubnames` and the rest of it ought to fall out naturally.
I admit the handling of the `-g*` options in Driver is way more intricate than anyone would like, but tweaking the defaulting to depend on target triple is something that happens in a number of places, so it shouldn't be too awful.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118754/new/

https://reviews.llvm.org/D118754



More information about the llvm-commits mailing list