[all-commits] [llvm/llvm-project] 6a0270: [CoroFrame] Save frame ptr in entry funclets (#176...

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Wed Jan 21 01:11:30 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a02703975038110ce8223e4e9ac7a6b5058b5d3
      https://github.com/llvm/llvm-project/commit/6a02703975038110ce8223e4e9ac7a6b5058b5d3
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-01-21 (Wed, 21 Jan 2026)

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

  Log Message:
  -----------
  [CoroFrame] Save frame ptr in entry funclets (#176766)

The logic deciding whether to save the frame pointer using an Alloca was
flawed: it must be the opposite of deciding whether to use EntryValue,
since those are the only methods allowing debuggers to find the frame
pointer (and therefore variables) reliably. This commit fixes the logic.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list