[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / debug-info-attributed-stmt.c
blobb60aaf66ff88ea2ef73c3c693add0148b00222a5
1 // RUN: %clang_cc1 -triple x86_64-unk-unk -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
3 void f(_Bool b)
5 #pragma nounroll
6 while (b);
9 // CHECK: br label {{.*}}, !dbg ![[NUM:[0-9]+]]
10 // CHECK: br i1 {{.*}}, label {{.*}}, label {{.*}}, !dbg ![[NUM]]
11 // CHECK: br label {{.*}}, !dbg ![[NUM]], !llvm.loop
12 // CHECK: ![[NUM]] = !DILocation(line: 6,