[clang] [llvm] [PowerPC] Support -fpatchable-function-entry (PR #92997)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 16:54:44 PDT 2024


================
@@ -6,15 +6,20 @@
 // RUN: %clang -target loongarch64 %s -fpatchable-function-entry=1,0 -c -### 2>&1 | FileCheck %s
 // RUN: %clang -target riscv32 %s -fpatchable-function-entry=1,0 -c -### 2>&1 | FileCheck %s
 // RUN: %clang -target riscv64 %s -fpatchable-function-entry=1,0 -c -### 2>&1 | FileCheck %s
+// RUN: %clang -target powerpc-unknown-linux-gnu %s -fpatchable-function-entry=1,0 -c -### 2>&1 | FileCheck %s
----------------
MaskRay wrote:

Use `--target=` for new tests. `-target ` has been deprecated for a long time

https://github.com/llvm/llvm-project/pull/92997


More information about the llvm-commits mailing list