[PATCH] D44788: Add an option to support debug fission on implicit ThinLTO.

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 22 13:27:26 PDT 2018


dblaikie added a subscriber: yunlian.
dblaikie added a comment.

In implicit ThinLTO, the object files are only temporary.

Sort of similar to using -gsplit-dwarf when compiling straight to an
executable (without using -c): "clang++ x.cpp y.cpp -o a.out" - where
should the .dwo files go then? If they go where the .o files go, then
they'll be in /tmp/ and get deleted either when the ocmpiler ends after it
runs the linker, or perhaps at some uncertain point in the future when the
temp space is reclaimed.
(granted, I'm not suggesting we support that actual case - it's not
terribly common for anyone who'd actually need -gsplit-dwarf - but the
implicit ThinLTO case looks quite similar for demonstration purposes)


Repository:
  rC Clang

https://reviews.llvm.org/D44788





More information about the cfe-commits mailing list