|
18 | 18 | ## 0: 50 push %rax |
19 | 19 | ## 1: 31 c0 xor %eax,%eax |
20 | 20 | ## 3: e8 00 00 00 00 call 8 <main+0x8> |
21 | | -## 4: R_X86_64_PLT32 ext-0x4 |
| 21 | +## 4: R_X86_64_PLT32 ext-0x4 |
22 | 22 | ## 8: 31 c0 xor %eax,%eax |
23 | 23 | ## a: 59 pop %rcx |
24 | 24 | ## b: c3 ret |
|
30 | 30 | ## |
31 | 31 | ## Instead: we shouldn't put a prologue_end on this function at all. It's too |
32 | 32 | ## deformed from the original code to truly have a position (with a line number) |
33 | | -## that is both true, and after frame setup. This gives comsumers the |
| 33 | +## that is both true, and after frame setup. This gives consumers the |
34 | 34 | ## opportunity to recognise "this is a crazy function" and act accordingly. |
35 | 35 | ## |
36 | 36 | ## Check lines ensure that there's something meaningful in the line table |
|
43 | 43 | # CHECK: 2 0 0 |
44 | 44 | # CHECK: end_sequence |
45 | 45 | --- | |
46 | | - ; ModuleID = '/tmp/test.c' |
47 | | - source_filename = "/tmp/test.c" |
48 | 46 | target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" |
49 | 47 | target triple = "x86_64-unknown-linux-gnu" |
50 | 48 |
|
|
63 | 61 | !llvm.module.flags = !{!2, !3, !4, !5, !6, !7, !8} |
64 | 62 | !llvm.ident = !{!9} |
65 | 63 |
|
66 | | - !0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang version 22.0.0git (/fast/fs/llvm4 8989ec5439dc2df2aeb7e5ea3e6c255ce8e9634d)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None) |
67 | | - !1 = !DIFile(filename: "/tmp/test.c", directory: "/fast/fs/llvm-stage/debug", checksumkind: CSK_MD5, checksum: "9862df54ae1fdd9354308eae69de364a") |
| 64 | + !0 = distinct !DICompileUnit(language: DW_LANG_C11, file: !1, producer: "clang", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None) |
| 65 | + !1 = !DIFile(filename: "/tmp/test.c", directory: "") |
68 | 66 | !2 = !{i32 7, !"Dwarf Version", i32 5} |
69 | 67 | !3 = !{i32 2, !"Debug Info Version", i32 3} |
70 | 68 | !4 = !{i32 1, !"wchar_size", i32 4} |
71 | 69 | !5 = !{i32 8, !"PIC Level", i32 2} |
72 | 70 | !6 = !{i32 7, !"PIE Level", i32 2} |
73 | 71 | !7 = !{i32 7, !"uwtable", i32 2} |
74 | 72 | !8 = !{i32 7, !"debug-info-assignment-tracking", i1 true} |
75 | | - !9 = !{!"clang version 22.0.0git (/fast/fs/llvm4 8989ec5439dc2df2aeb7e5ea3e6c255ce8e9634d)"} |
| 73 | + !9 = !{!"clang"} |
76 | 74 | !10 = distinct !DISubprogram(name: "main", scope: !11, file: !11, line: 2, type: !12, scopeLine: 2, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !18, keyInstructions: true) |
77 | | - !11 = !DIFile(filename: "/tmp/test.c", directory: "", checksumkind: CSK_MD5, checksum: "9862df54ae1fdd9354308eae69de364a") |
| 75 | + !11 = !DIFile(filename: "/tmp/test.c", directory: "") |
78 | 76 | !12 = !DISubroutineType(types: !13) |
79 | 77 | !13 = !{!14, !14, !15} |
80 | 78 | !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed) |
|
0 commit comments