[all-commits] [llvm/llvm-project] aefa9f: [CoroSplit][DebugInfo] Don't use entry_value for a...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Thu Aug 24 05:50:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aefa9ff3ec45e06d7a1302eadf3830513dc97921
      https://github.com/llvm/llvm-project/commit/aefa9ff3ec45e06d7a1302eadf3830513dc97921
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
    M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
    M llvm/test/Transforms/Coroutines/swift-async-dbg.ll

  Log Message:
  -----------
  [CoroSplit][DebugInfo] Don't use entry_value for async args in 32-bit targets

Only X86_64 and ARM64 have a reserved register for async arguments, and so the
debugger is only able to handle those targets. For other architectures, we use a
non-entry-value expression and let the debugger do its best with that.

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




More information about the All-commits mailing list