[all-commits] [llvm/llvm-project] 0b647f: [debug-info] Debug salvage llvm.dbg.addr in origin...

Michael Gottesman via All-commits all-commits at lists.llvm.org
Wed Mar 9 14:02:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b647fc5299156bf83c46aa539d6c9c39647bb36
      https://github.com/llvm/llvm-project/commit/0b647fc5299156bf83c46aa539d6c9c39647bb36
  Author: Michael Gottesman <mgottesman at apple.com>
  Date:   2022-03-09 (Wed, 09 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
    M llvm/test/Transforms/Coroutines/coro-debug-dbg.addr-swift.ll
    M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll

  Log Message:
  -----------
  [debug-info] Debug salvage llvm.dbg.addr in original function that point into the coroutine frame when splitting coros.

We are already doing this in the split functions while we clone. This just
handles the original function.

I also updated the coroutine split test to validate that we are always referring
to the msg in the context object instead of in a shadow copy.

rdar://83957028

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D121324




More information about the All-commits mailing list