mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 19:24:21 +00:00
32e5273491
The fault was introduced in r312623 llvm-svn: 312627
13 lines
362 B
C
13 lines
362 B
C
// RUN: %clang_cc1 -triple x86_64-unk-unk -debug-info-kind=limited -emit-llvm %s -o - | FileCheck %s
|
|
|
|
void f(_Bool b)
|
|
{
|
|
#pragma nounroll
|
|
while (b);
|
|
}
|
|
|
|
// CHECK: br label {{.*}}, !dbg ![[NUM:[0-9]+]]
|
|
// CHECK: br i1 {{.*}}, label {{.*}}, label {{.*}}, !dbg ![[NUM]]
|
|
// CHECK: br label {{.*}}, !dbg ![[NUM]], !llvm.loop
|
|
// CHECK: ![[NUM]] = !DILocation(line: 6,
|