[clang] [llvm] [BPF] introduce `__attribute__((bpf_fastcall))` (PR #101228)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 15 12:13:27 PDT 2024
================
@@ -2189,6 +2189,14 @@ def BTFTypeTag : TypeAttr {
let LangOpts = [COnly];
}
+def BPFFastCall : InheritableAttr,
+ TargetSpecificAttr<TargetBPF> {
+ let Spellings = [GCC<"bpf_fastcall">];
----------------
eddyz87 wrote:
GCC will have to catch-up, but the would also have to do so for `btf_{type,decl}_tag`. Changed to `Clang`.
https://github.com/llvm/llvm-project/pull/101228
More information about the cfe-commits
mailing list