r373712 - [Driver] NFC: Remove duplicate call to getLibGccType
Cullen Rhodes via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 4 01:26:37 PDT 2019
Author: c-rhodes
Date: Fri Oct 4 01:26:37 2019
New Revision: 373712
URL: http://llvm.org/viewvc/llvm-project?rev=373712&view=rev
Log:
[Driver] NFC: Remove duplicate call to getLibGccType
Reviewed By: saugustine
Differential Revision: https://reviews.llvm.org/D68380
Modified:
cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp
Modified: cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp?rev=373712&r1=373711&r2=373712&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/CommonArgs.cpp Fri Oct 4 01:26:37 2019
@@ -1186,7 +1186,6 @@ static void AddUnwindLibrary(const ToolC
case ToolChain::UNW_None:
return;
case ToolChain::UNW_Libgcc: {
- LibGccType LGT = getLibGccType(D, Args);
if (LGT == LibGccType::StaticLibGcc)
CmdArgs.push_back("-lgcc_eh");
else
More information about the cfe-commits
mailing list