source: icGREP/icgrep-devel/llvm-3.8.0.src/test/Bitcode/upgrade-subprogram.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 592 bytes
Line 
1; RUN: llvm-dis < %s.bc | FileCheck %s
2; RUN: verify-uselistorder < %s.bc
3
4; CHECK: define void @foo() !dbg [[SP:![0-9]+]]
5define void @foo() {
6  ret void
7}
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, subprograms: !{!3}, emissionKind: 1)
14!2 = !DIFile(filename: "foo.c", directory: "/path/to/dir")
15; CHECK: [[SP]] = distinct !DISubprogram
16!3 = distinct !DISubprogram(file: !2, scope: !2, line: 51, name: "foo", function: void ()* @foo, type: !4)
17!4 = !DISubroutineType(types: !{})
Note: See TracBrowser for help on using the repository browser.