llvm-project/llvm/lib/LTO
Aaron Puchert e1dc495e63 [Clang] Harmonize Split DWARF options with llc
Summary:
With Split DWARF the resulting object file (then called skeleton CU)
contains the file name of another ("DWO") file with the debug info.
This can be a problem for remote compilation, as it will contain the
name of the file on the compilation server, not on the client.

To use Split DWARF with remote compilation, one needs to either

* make sure only relative paths are used, and mirror the build directory
  structure of the client on the server,
* inject the desired file name on the client directly.

Since llc already supports the latter solution, we're just copying that
over. We allow setting the actual output filename separately from the
value of the DW_AT_[GNU_]dwo_name attribute in the skeleton CU.

Fixes PR40276.

Reviewers: dblaikie, echristo, tejohnson

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D59673

llvm-svn: 363496
2019-06-15 15:38:51 +00:00
..
CMakeLists.txt [ThinLTO] Compute synthetic function entry count 2018-12-13 19:54:27 +00:00
Caching.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Fix -DBUILD_SHARED_LIBS=ON build after rL362160 2019-05-31 01:04:00 +00:00
LTO.cpp Reland: [Remarks] Refactor optimization remarks setup 2019-06-14 16:20:51 +00:00
LTOBackend.cpp [Clang] Harmonize Split DWARF options with llc 2019-06-15 15:38:51 +00:00
LTOCodeGenerator.cpp Reland: [Remarks] Refactor optimization remarks setup 2019-06-14 16:20:51 +00:00
LTOModule.cpp [ThinLTO]LTO]Legacy] Fix dependent libraries support by adding querying of the IRSymtab 2019-06-12 11:07:56 +00:00
SummaryBasedOptimizations.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ThinLTOCodeGenerator.cpp Reland: [Remarks] Refactor optimization remarks setup 2019-06-14 16:20:51 +00:00
UpdateCompilerUsed.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00