Received multiple reports of breakage due to undefined symbols
suspected to be caused by this change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@340579
91177308-0d34-0410-b5e6-
96231b3b80d8
}
if (Args.hasFlag(options::OPT_faddrsig, options::OPT_fno_addrsig,
- (getToolChain().getTriple().isOSBinFormatELF() ||
- getToolChain().getTriple().isOSBinFormatCOFF()) &&
+ getToolChain().getTriple().isOSBinFormatELF() &&
getToolChain().useIntegratedAs()))
CmdArgs.push_back("-faddrsig");
// RUN: %clang -### -target x86_64-unknown-linux -c %s 2>&1 | FileCheck -check-prefix=ADDRSIG %s
-// RUN: %clang -### -target x86_64-pc-win32 -c %s 2>&1 | FileCheck -check-prefix=ADDRSIG %s
// RUN: %clang -### -target x86_64-unknown-linux -fno-integrated-as -c %s 2>&1 | FileCheck -check-prefix=NO-ADDRSIG %s
// RUN: %clang -### -target x86_64-unknown-linux -fno-integrated-as -faddrsig -c %s 2>&1 | FileCheck -check-prefix=ADDRSIG %s
// RUN: %clang -### -target x86_64-unknown-linux -fno-addrsig -c %s 2>&1 | FileCheck -check-prefix=NO-ADDRSIG %s