1 // RUN: %clang_cc1 -debug-info-kind=limited -emit-llvm -o - %s | FileCheck %s
3 void t1(void) __attribute__((nodebug
));
17 // With nodebug, IR should have no llvm.dbg.* calls, or !dbg annotations.
22 // Verify those things do occur normally.
24 // CHECK: call{{.*}}llvm.dbg
28 // We should see a function description for t2 but not t1.
29 // CHECK-NOT: DISubprogram(name: "t1"
30 // CHECK: DISubprogram(name: "t2"
31 // CHECK-NOT: DISubprogram(name: "t1"