[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:
Cullen Rhodes 2019-10-04 08:26:37 +00:00
parent 51e0bbb02d
commit eae7ed479b
1 changed files with 0 additions and 1 deletions

View File

@ -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