Clang Project

clang_source_code/test/CodeGen/debug-info-attributed-stmt.c
1// RUN: %clang_cc1 -triple x86_64-unk-unk -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
2
3void f(_Bool b)
4{
5#pragma nounroll
6  while (b);
7}
8
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,
13