diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-31 18:25:59 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-31 18:25:59 +0000 |
commit | 3aa30e8062a104d5b17d389bd26461bef2aa6fa8 (patch) | |
tree | 6b133bc5348ea458cbebd989b46475cded178988 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | d10c4e07f50fefd90342ee78e4ce85a32aa61200 (diff) | |
download | bcm5719-llvm-3aa30e8062a104d5b17d389bd26461bef2aa6fa8.tar.gz bcm5719-llvm-3aa30e8062a104d5b17d389bd26461bef2aa6fa8.zip |
IRGen: Write .dwo files when -split-dwarf-file is used together with -fthinlto-index.
Differential Revision: https://reviews.llvm.org/D47597
llvm-svn: 333677
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index f9239f63649..f9855f03a48 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -1161,6 +1161,7 @@ static void runThinLTOBackend(ModuleSummaryIndex *CombinedIndex, Module *M, Conf.DebugPassManager = CGOpts.DebugPassManager; Conf.RemarksWithHotness = CGOpts.DiagnosticsWithHotness; Conf.RemarksFilename = CGOpts.OptRecordFile; + Conf.DwoPath = CGOpts.SplitDwarfFile; switch (Action) { case Backend_EmitNothing: Conf.PreCodeGenModuleHook = [](size_t Task, const Module &Mod) { |