[PATCH] D147506: [DebugLine] save one debug line entry for empty prologue

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 08:27:06 PDT 2023


dblaikie added a comment.

In D147506#4321690 <https://reviews.llvm.org/D147506#4321690>, @shchenz wrote:

> The buildbot failure is caused by instructions are inserted into prologue after empty prologue is checked. So if instructions are inserted to a empty prologue, because we save the first loc for empty prologue, then the inserted instructions will not appear in the debug line section because they are all after the first loc. So with such dwarf debug line, llvm-symbolizer can not find the location for these prologue instructions.

ah, good to know. Guess that favors the "lazy" approach I was suggesting, then? (since that'll work more dynamically/based on the instructions that are emitted, rather than trying to compute it ahead of time)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147506/new/

https://reviews.llvm.org/D147506



More information about the llvm-commits mailing list