[PATCH] D59673: [Driver] Allow setting the DWO name DWARF attribute separately

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 10 14:28:04 PDT 2019


dblaikie added a comment.

In D59673#1460605 <https://reviews.llvm.org/D59673#1460605>, @aaronpuchert wrote:

> Ok, here is an idea. We introduce `-split-dwarf-output` in Clang instead of `-fsplit-dwarf-dwo-name-attr`. If given, it overrides the output file name for the Split DWARF file, which we otherwise take from `-split-dwarf-file`. The option is obviously incompatible with `-enable-split-dwarf=single`, so we will disallow that. This should be backwards-compatible, and bring the behavior of `llc` and `clang -cc1` closer together. What do you think?


Sure, I think the naming's a bit weird (but hard to come up with good names for any of this) - but consistency seems like a good first pass at least, given we're halfway there anyway.


Repository:
  rC Clang

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

https://reviews.llvm.org/D59673





More information about the cfe-commits mailing list