[clang] b0e68a9 - [PAC][clang] Use cc1 instead of driver in init-fini codegen test (#109247)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 19 22:53:53 PDT 2024
Author: Daniil Kovalev
Date: 2024-09-20T08:53:49+03:00
New Revision: b0e68a9a53e6bc1396271ee3d79cb86c8049fe17
URL: https://github.com/llvm/llvm-project/commit/b0e68a9a53e6bc1396271ee3d79cb86c8049fe17
DIFF: https://github.com/llvm/llvm-project/commit/b0e68a9a53e6bc1396271ee3d79cb86c8049fe17.diff
LOG: [PAC][clang] Use cc1 instead of driver in init-fini codegen test (#109247)
Added:
Modified:
clang/test/CodeGen/ptrauth-init-fini.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/ptrauth-init-fini.c b/clang/test/CodeGen/ptrauth-init-fini.c
index d51ed1d98e81eb..1e8953961d64ef 100644
--- a/clang/test/CodeGen/ptrauth-init-fini.c
+++ b/clang/test/CodeGen/ptrauth-init-fini.c
@@ -1,19 +1,19 @@
// REQUIRES: aarch64-registered-target
-// RUN: %clang -target aarch64-elf -march=armv8.3-a+pauth -fptrauth-calls -fptrauth-init-fini \
-// RUN: -S -emit-llvm %s -o - | FileCheck --check-prefix=SIGNED %s
+// RUN: %clang_cc1 -triple aarch64-elf -target-feature +pauth -fptrauth-calls -fptrauth-init-fini \
+// RUN: -emit-llvm %s -o - | FileCheck --check-prefix=SIGNED %s
-// RUN: %clang -target aarch64-elf -march=armv8.3-a+pauth -fptrauth-calls -fptrauth-init-fini \
-// RUN: -fptrauth-init-fini-address-discrimination -S -emit-llvm %s -o - | FileCheck --check-prefix=ADDRDISC %s
+// RUN: %clang_cc1 -triple aarch64-elf -target-feature +pauth -fptrauth-calls -fptrauth-init-fini \
+// RUN: -fptrauth-init-fini-address-discrimination -emit-llvm %s -o - | FileCheck --check-prefix=ADDRDISC %s
-// RUN: %clang -target aarch64-elf -march=armv8.3-a+pauth -fptrauth-calls -fno-ptrauth-init-fini \
-// RUN: -S -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
+// RUN: %clang_cc1 -triple aarch64-elf -target-feature +pauth -fptrauth-calls \
+// RUN: -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
-// RUN: %clang -target aarch64-elf -march=armv8.3-a+pauth -fptrauth-calls -fptrauth-init-fini-address-discrimination \
-// RUN: -S -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
+// RUN: %clang_cc1 -triple aarch64-elf -target-feature +pauth -fptrauth-calls -fptrauth-init-fini-address-discrimination \
+// RUN: -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
-// RUN: %clang -target aarch64-elf -march=armv8.3-a+pauth -fptrauth-init-fini \
-// RUN: -S -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
+// RUN: %clang_cc1 -triple aarch64-elf -target-feature +pauth -fptrauth-init-fini \
+// RUN: -emit-llvm %s -o - | FileCheck --check-prefix=UNSIGNED %s
// SIGNED: @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr ptrauth (ptr @foo, i32 0, i64 55764), ptr null }]
// SIGNED: @llvm.global_dtors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr ptrauth (ptr @bar, i32 0, i64 55764), ptr null }]
More information about the cfe-commits
mailing list