mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 08:30:34 +08:00
Driver: Allow build system override of default non-fragile ABI version.
llvm-svn: 118786
This commit is contained in:
@@ -1425,7 +1425,11 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
options::OPT_fno_objc_nonfragile_abi,
|
||||
getToolChain().IsObjCNonFragileABIDefault())) {
|
||||
// Determine the non-fragile ABI version to use.
|
||||
#ifdef DISABLE_DEFAULT_NONFRAGILEABI_TWO
|
||||
unsigned NonFragileABIVersion = 1;
|
||||
#else
|
||||
unsigned NonFragileABIVersion = 2;
|
||||
#endif
|
||||
|
||||
if (Arg *A = Args.getLastArg(
|
||||
options::OPT_fobjc_nonfragile_abi_version_EQ)) {
|
||||
|
||||
Reference in New Issue
Block a user