|
64 | 64 | ; NOCONV: DW_AT_location (
|
65 | 65 | ; NOCONV: {{.*}}, DW_OP_dup, DW_OP_constu 0x7, DW_OP_shr, DW_OP_lit0, DW_OP_not, DW_OP_mul, DW_OP_constu 0x8, DW_OP_shl, DW_OP_or, DW_OP_stack_value)
|
66 | 66 | ; NOCONV: DW_AT_name ("y")
|
67 |
| -; NOCONV: DW_TAG_variable |
68 |
| -; NOCONV: DW_AT_location ( |
69 |
| -; NOCONV: DW_OP_constu 0x40, DW_OP_lit0, DW_OP_plus, DW_OP_lit1, DW_OP_constu 0x40, DW_OP_shl, DW_OP_lit1, DW_OP_minus, DW_OP_and, DW_OP_stack_value) |
70 |
| -; NOCONV: DW_AT_name ("z") |
71 | 67 | ; NOCONV: NULL
|
72 | 68 | ; NOCONV: DW_TAG_base_type
|
73 | 69 | ; NOCONV: DW_AT_name ("signed char")
|
74 | 70 | ; NOCONV: DW_TAG_base_type
|
75 | 71 | ; NOCONV: DW_AT_name ("int")
|
76 |
| -; NOCONV: DW_TAG_base_type |
77 |
| -; NOCONV: DW_AT_name ("unsigned long long") |
78 | 72 | ; NOCONV: NULL
|
79 | 73 |
|
80 | 74 |
|
|
87 | 81 | ;; will not attempt to eliminate. At the moment, only "convert" ops are folded.
|
88 | 82 | ;; If you have to change the expression, the expected DWO_id also changes.
|
89 | 83 | call void @llvm.dbg.value(metadata i8 32, metadata !13, metadata !DIExpression(DW_OP_lit0, DW_OP_plus, DW_OP_LLVM_convert, 8, DW_ATE_signed, DW_OP_LLVM_convert, 32, DW_ATE_signed, DW_OP_stack_value)), !dbg !15
|
90 |
| - call void @llvm.dbg.value(metadata i8 64, metadata !17, metadata !DIExpression(DW_OP_lit0, DW_OP_plus, DW_OP_LLVM_convert, 64, DW_ATE_unsigned, DW_OP_LLVM_convert, 128, DW_ATE_unsigned, DW_OP_LLVM_convert, 64, DW_ATE_unsigned, DW_OP_stack_value)), !dbg !15 |
91 | 84 | ret i8 %x, !dbg !16
|
92 | 85 | }
|
93 | 86 |
|
@@ -118,5 +111,3 @@ declare void @llvm.dbg.value(metadata, metadata, metadata)
|
118 | 111 | !14 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
|
119 | 112 | !15 = !DILocation(line: 3, column: 14, scope: !7)
|
120 | 113 | !16 = !DILocation(line: 4, column: 3, scope: !7)
|
121 |
| -!17 = !DILocalVariable(name: "z", scope: !7, file: !1, line: 3, type: !18) |
122 |
| -!18 = !DIBasicType(name: "unsigned long long", size: 64, encoding: DW_ATE_unsigned) |
0 commit comments