diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-11-16 07:59:24 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-11-16 07:59:24 +0000 |
commit | 59e40fbc67abf5f59b408d83bab2e33e1fe0eb17 (patch) | |
tree | 530b6aa5a9d63f218e8b4adf961291b3c202f3e4 /lib/Driver/ToolChains/MinGW.cpp | |
parent | 24d83fa5583216aabc70f5452ed16789b9026e51 (diff) | |
download | clang-59e40fbc67abf5f59b408d83bab2e33e1fe0eb17.tar.gz |
[clang] - Simplify tools::SplitDebugName.
This should be NFC change.
SplitDebugName recently started to accept the `Output` that
can be used to simplify the logic a bit, also it
seems that code in SplitDebugName that uses
OPT_fdebug_compilation_dir is simply dead.
Differential revision: https://reviews.llvm.org/D54576
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains/MinGW.cpp')
-rw-r--r-- | lib/Driver/ToolChains/MinGW.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/ToolChains/MinGW.cpp b/lib/Driver/ToolChains/MinGW.cpp index db468fd645..836d7c1551 100644 --- a/lib/Driver/ToolChains/MinGW.cpp +++ b/lib/Driver/ToolChains/MinGW.cpp @@ -54,7 +54,7 @@ void tools::MinGW::Assembler::ConstructJob(Compilation &C, const JobAction &JA, if (Args.hasArg(options::OPT_gsplit_dwarf)) SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output, - SplitDebugName(Args, Inputs[0], Output)); + SplitDebugName(Args, Output)); } void tools::MinGW::Linker::AddLibGCC(const ArgList &Args, |