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

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 20:13:03 PDT 2023


shchenz added a comment.

Added a simple assert in `MCObjectStreamer::emitDwarfAdvanceLineAddr()` for the absolute address diffs, and run a unittest check in llvm. All the failures are for assembly file (hardcode two `.loc` without any "real" instructions between). The `ll` input can not produce 0 address diff.


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