[clang] [clang] Function type attribute to prevent CFI instrumentation (PR #135836)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 2 10:19:40 PDT 2025


================
@@ -5250,6 +5260,7 @@ class FunctionProtoType final
     FunctionType::ExtInfo ExtInfo;
     unsigned Variadic : 1;
     unsigned HasTrailingReturn : 1;
+    unsigned CFIUncheckedCallee : 1;
----------------
erichkeane wrote:

I realize this type isn't doing this, but I think we want a:
`LLVM_PREFERRED_TYPE(bool)`
before this. (and probably the two above).

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


More information about the cfe-commits mailing list