Skip to content

Commit 66b08a8

Browse files
authored
Merge pull request #42169 from gottesmm/pr-89ab9968f0cb61f3cee3a65b2b1165ef43538143
[debug-info] Update DWARF output for an upstream llvm change.
2 parents 73e15c0 + c626d50 commit 66b08a8

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)