]> granicus.if.org Git - clang/commit
Add an option to support debug fission on implicit ThinLTO.
authorYunlian Jiang <yunlian@google.com>
Mon, 25 Jun 2018 23:05:27 +0000 (23:05 +0000)
committerYunlian Jiang <yunlian@google.com>
Mon, 25 Jun 2018 23:05:27 +0000 (23:05 +0000)
commit3707aa46066aa2da2490fe79c65c6c45c6957ece
treee9f67ed2a0b9489d34892bee9a5578e5697be041
parentc0fec042d11f57c9ab12b33a86e02856f6f276f0
Add an option to support debug fission on implicit ThinLTO.

Summary:
This adds an option -gsplit-dwarf=<arg>. LLVM can create .dwo files in the given directory
during the implicit ThinLTO link stage.

Reviewers: tejohnson, dblaikie, pcc

Reviewed By: pcc

Subscribers: steven_wu, aprantl, JDevlieghere, yunlian, probinson, mehdi_amini, inglorion, cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335546 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/CommonArgs.cpp
test/Driver/lto-dwo.c [new file with mode: 0644]