[clang] [llvm] [BPF] introduce `__attribute__((bpf_fastcall))` (PR #101228)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 09:59:16 PDT 2024
================
@@ -2189,6 +2189,14 @@ def BTFTypeTag : TypeAttr {
let LangOpts = [COnly];
}
+def BPFFastCall : InheritableAttr,
+ TargetSpecificAttr<TargetBPF> {
+ let Spellings = [GCC<"bpf_fastcall">];
----------------
AaronBallman wrote:
Does GCC support this attribute with this spelling? If not, this should use the `Clang` spelling instead of the `GCC` spelling.
https://github.com/llvm/llvm-project/pull/101228
More information about the cfe-commits
mailing list