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

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 17:33:03 PDT 2019


aaronpuchert added a comment.

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?


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