llvm-capstone/clang/test/CodeGen/debug-info-attributed-stmt.c
Karl-Johan Karlsson 32e5273491 Corrected testcase to work with release build
The fault was introduced in r312623

llvm-svn: 312627
2017-09-06 10:12:32 +00:00

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,