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