forked from OSchip/llvm-project
[Driver] NFC: Remove duplicate call to getLibGccType
Reviewed By: saugustine Differential Revision: https://reviews.llvm.org/D68380 llvm-svn: 373712
This commit is contained in:
parent
51e0bbb02d
commit
eae7ed479b
|
@ -1186,7 +1186,6 @@ static void AddUnwindLibrary(const ToolChain &TC, const Driver &D,
|
|||
case ToolChain::UNW_None:
|
||||
return;
|
||||
case ToolChain::UNW_Libgcc: {
|
||||
LibGccType LGT = getLibGccType(D, Args);
|
||||
if (LGT == LibGccType::StaticLibGcc)
|
||||
CmdArgs.push_back("-lgcc_eh");
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue