forked from OSchip/llvm-project
[ARM] Add missing -backend-option for -arm-execute-only
llvm-svn: 290110
This commit is contained in:
parent
24218d5993
commit
9390d84d10
|
@ -1158,6 +1158,7 @@ static void getARMTargetFeatures(const ToolChain &TC,
|
|||
D.Diag(diag::err_opt_not_valid_with_opt) << A->getAsString(Args) << B->getAsString(Args);
|
||||
}
|
||||
|
||||
CmdArgs.push_back("-backend-option");
|
||||
CmdArgs.push_back("-arm-execute-only");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,8 +91,8 @@
|
|||
// RUN: | FileCheck %s -check-prefix CHECK-EXECUTE-ONLY-LONG-CALLS
|
||||
|
||||
//
|
||||
// CHECK-NO-EXECUTE-ONLY-NOT: "-arm-execute-only"
|
||||
// CHECK-EXECUTE-ONLY: "-arm-execute-only"
|
||||
// CHECK-NO-EXECUTE-ONLY-NOT: "-backend-option" "-arm-execute-only"
|
||||
// CHECK-EXECUTE-ONLY: "-backend-option" "-arm-execute-only"
|
||||
|
||||
// CHECK-EXECUTE-ONLY-NOT-SUPPORTED: error: execute only is not supported for the thumbv6m sub-architecture
|
||||
// CHECK-EXECUTE-ONLY-NO-MOVT: error: option '-mexecute-only' cannot be specified with '-mno-movt'
|
||||
|
|
Loading…
Reference in New Issue