File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 49
49
// ERR1-NEXT: error: unsupported option '-fptrauth-init-fini' for target '{{.*}}'
50
50
51
51
//// Only support PAuth ABI for Linux as for now.
52
- // RUN: not %clang -c --target=aarch64-unknown -mabi=pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR2
53
- // RUN: not %clang -c --target=aarch64-unknown-pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR2
52
+ // RUN: not %clang -o /dev/null - c --target=aarch64-unknown -mabi=pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR2
53
+ // RUN: not %clang -o /dev/null - c --target=aarch64-unknown-pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR2
54
54
// ERR2: error: ABI 'pauthtest' is not supported for 'aarch64-unknown-unknown-pauthtest'
55
55
56
56
//// PAuth ABI is encoded as environment part of the triple, so don't allow to explicitly set other environments.
57
- // RUN: not %clang -c --target=aarch64-linux-gnu -mabi=pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR3
57
+ // RUN: not %clang -### - c --target=aarch64-linux-gnu -mabi=pauthtest %s 2>&1 | FileCheck %s --check-prefix=ERR3
58
58
// ERR3: error: unsupported option '-mabi=pauthtest' for target 'aarch64-unknown-linux-gnu'
59
- // RUN: %clang -c --target=aarch64-linux-pauthtest -mabi=pauthtest %s
59
+ // RUN: %clang -### - c --target=aarch64-linux-pauthtest -mabi=pauthtest %s
60
60
61
61
//// The only branch protection option compatible with PAuthABI is BTI.
62
62
// RUN: not %clang -### -c --target=aarch64-linux -mabi=pauthtest -mbranch-protection=pac-ret %s 2>&1 | \
You can’t perform that action at this time.
0 commit comments