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

Nick Desaulniers via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 10:03:58 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();
----------------
nickdesaulniers wrote:

Can this test case simply be added to clang/test/Sema/patchable-function-entry-attr.cpp?

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


More information about the llvm-commits mailing list