Debian Codegraph @

llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/difile_absolute_filenames.ll.expected

raw
1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals
2 ; RUN: opt < %s -S | FileCheck %s
3
4 source_filename = "/llvm-project/foo.c"
5
6 define dso_local void @f() !dbg !10 {
7 ; CHECK-LABEL: @f(
8 ; CHECK-NEXT: entry:
9 ; CHECK-NEXT: ret void, !dbg [[DBG14:![0-9]+]]
10 ;
11 entry:
12 ret void, !dbg !14
13 }
14
15 !llvm.dbg.cu = !{!0}
16 !llvm.module.flags = !{!2, !3, !4, !5, !6, !7, !8}
17 !llvm.ident = !{!9}
18
19 !0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
20 !1 = !DIFile(filename: "/llvm-project/foo.c", directory: "/llvm-project")
21 !2 = !{i32 7, !"Dwarf Version", i32 5}
22 !3 = !{i32 2, !"Debug Info Version", i32 3}
23 !4 = !{i32 1, !"wchar_size", i32 4}
24 !5 = !{i32 8, !"PIC Level", i32 2}
25 !6 = !{i32 7, !"PIE Level", i32 2}
26 !7 = !{i32 7, !"uwtable", i32 2}
27 !8 = !{i32 7, !"frame-pointer", i32 2}
28 !9 = !{!"clang"}
29 !10 = distinct !DISubprogram(name: "f", scope: !11, file: !11, line: 1, type: !12, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0)
30 !11 = !DIFile(filename: "foo.c", directory: "/llvm-project")
31 !12 = !DISubroutineType(types: !13)
32 !13 = !{null}
33 !14 = !DILocation(line: 1, column: 11, scope: !10)
34 ;.
35 ; CHECK: [[META0:![0-9]+]] = distinct !DICompileUnit(language: DW_LANG_C11, file: [[META1:![0-9]+]], producer: "clang", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
36 ; CHECK: [[META1]] = !DIFile(filename: "{{.*}}foo.c", directory: {{.*}})
37 ; CHECK: [[META2:![0-9]+]] = !{i32 7, !"Dwarf Version", i32 5}
38 ; CHECK: [[META3:![0-9]+]] = !{i32 2, !"Debug Info Version", i32 3}
39 ; CHECK: [[META4:![0-9]+]] = !{i32 1, !"wchar_size", i32 4}
40 ; CHECK: [[META5:![0-9]+]] = !{i32 8, !"PIC Level", i32 2}
41 ; CHECK: [[META6:![0-9]+]] = !{i32 7, !"PIE Level", i32 2}
42 ; CHECK: [[META7:![0-9]+]] = !{i32 7, !"uwtable", i32 2}
43 ; CHECK: [[META8:![0-9]+]] = !{i32 7, !"frame-pointer", i32 2}
44 ; CHECK: [[META9:![0-9]+]] = !{!"clang"}
45 ; CHECK: [[META10:![0-9]+]] = distinct !DISubprogram(name: "f", scope: [[META11:![0-9]+]], file: [[META11]], line: 1, type: [[META12:![0-9]+]], scopeLine: 1, spFlags: DISPFlagDefinition, unit: [[META0]])
46 ; CHECK: [[META11]] = !DIFile(filename: "{{.*}}foo.c", directory: {{.*}})
47 ; CHECK: [[META12]] = !DISubroutineType(types: [[META13:![0-9]+]])
48 ; CHECK: [[META13]] = !{null}
49 ; CHECK: [[DBG14]] = !DILocation(line: 1, column: 11, scope: [[META10]])
50 ;.