brintos

brintos / llvm-project-archived public Read only

0
0
Text · 580 B · fb807ed Raw
18 lines · plain
1; RUN: llvm-dis < %s.bc | FileCheck %s2; RUN: verify-uselistorder < %s.bc3 4; CHECK: define void @foo() !dbg [[SP:![0-9]+]]5define void @foo() {6  ret void7}8 9!llvm.module.flags = !{!0}10!0 = !{i32 2, !"Debug Info Version", i32 3}11 12!llvm.dbg.cu = !{!1}13!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2, emissionKind: FullDebug)14!2 = !DIFile(filename: "foo.c", directory: "/path/to/dir")15; CHECK: [[SP]] = distinct !DISubprogram16!3 = distinct !DISubprogram(file: !2, scope: !2, line: 51, name: "foo", function: void ()* @foo, type: !4)17!4 = !DISubroutineType(types: !{})18