Skip to content

Commit b5904df

Browse files
committed
[debug-info] Update DWARF output for an upstream llvm change.
Previously, "m" was below "k". Now they flipped order.
1 parent bddc511 commit b5904df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/DebugInfo/move_function_dbginfo_async.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@ public func varSimpleTest<T>(_ msg: inout T, _ msg2: T) async {
256256
// We reinitialize k in 4.
257257
// DWARF: DW_AT_linkage_name ("$s3out16varSimpleTestVaryyYaFTY4_")
258258
// DWARF: DW_TAG_variable
259+
// DWARF-NEXT: DW_AT_location (DW_OP_entry_value([[ASYNC_REG]]), DW_OP_plus_uconst 0x10, DW_OP_plus_uconst 0x10)
260+
// DWARF-NEXT: DW_AT_name ("m")
261+
// DWARF: DW_TAG_variable
259262
// DWARF-NEXT: DW_AT_location (0x{{[0-9a-f]+}}:
260263
// DWARF-NEXT: [0x{{[0-9a-f]+}}, 0x{{[0-9a-f]+}}): DW_OP_entry_value([[ASYNC_REG]]), DW_OP_plus_uconst 0x10, DW_OP_plus_uconst 0x8)
261264
// DWARF-NEXT: DW_AT_name ("k")

0 commit comments

Comments
 (0)