1 // REQUIRES: x86-registered-target 2 // RUN: %clang -target x86_64 -g -S -emit-llvm -o - %s | FileCheck %s 3 4 #define __tag1 __attribute__((btf_decl_tag("tag1"))) 5 #define __tag2 __attribute__((btf_decl_tag("tag2"))) 6 7 struct __tag1 __tag2 t1; 8 foo(struct t1 * arg)9int foo(struct t1 *arg) { 10 return (int)(long)arg; 11 } 12 13 // CHECK: define dso_local i32 @foo( 14 // CHECK-NOT: annotations 15