brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · bf7f13f Raw
37 lines · plain
1; REQUIRES: native && target-x86_642 3; RUN: lli --jit-linker=rtdyld --orc-lazy-debug=jit-debug-descriptor %s 2>&1 | FileCheck %s4; RUN: lli --jit-linker=jitlink --orc-lazy-debug=jit-debug-descriptor %s 2>&1 | FileCheck %s5;6; Initial entry should be empty:7; CHECK: jit_debug_descriptor 0x00000000000000008;9; After adding the module it must not be empty anymore:10; CHECK: jit_debug_descriptor 0x11; CHECK-NOT:                    00000000000000012; CHECK-SAME:                               {{[048c]}}13 14define i32 @main() !dbg !9 {15  ret i32 0, !dbg !1416}17 18!llvm.module.flags = !{!0, !1, !2, !3, !4}19!llvm.dbg.cu = !{!5}20!llvm.ident = !{!8}21 22!0 = !{i32 2, !"SDK Version", [3 x i32] [i32 10, i32 15, i32 6]}23!1 = !{i32 7, !"Dwarf Version", i32 4}24!2 = !{i32 2, !"Debug Info Version", i32 3}25!3 = !{i32 1, !"wchar_size", i32 4}26!4 = !{i32 7, !"PIC Level", i32 2}27!5 = distinct !DICompileUnit(language: DW_LANG_C99, file: !6, producer: "compiler version", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !7, nameTableKind: None)28!6 = !DIFile(filename: "source-file.c", directory: "/workspace")29!7 = !{}30!8 = !{!"compiler version"}31!9 = distinct !DISubprogram(name: "main", scope: !6, file: !6, line: 4, type: !10, scopeLine: 4, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !7)32!10 = !DISubroutineType(types: !11)33!11 = !{!12}34!12 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)35!13 = !DILocation(line: 5, column: 3, scope: !9)36!14 = !DILocation(line: 6, column: 3, scope: !9)37