[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
================
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -triple powerpc64-ibm-aix-xcoff -fsyntax-only -verify %s
+
+// expected-error at +1 {{'patchable_function_entry' attribute is not yet supported on AIX}}
+__attribute__((patchable_function_entry(0))) void f();
----------------
MaskRay wrote:
Some test directory adopt `rm -rf %t && split-file %s %t && cd %t` (https://llvm.org/docs/TestingGuide.html#extra-files)
https://github.com/llvm/llvm-project/pull/92997
More information about the llvm-commits
mailing list