[PATCH] D110740: Do not emit prologue_end for line 0 locs if there is a non-zero loc present

Shubham Sandeep Rastogi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 1 14:30:11 PDT 2021


rastogishubham updated this revision to Diff 376634.
rastogishubham marked 4 inline comments as done.
rastogishubham added a comment.

Updated the test files make sure there are check's for where prologue_end's should not be present. Added a better comment to explain the change made to findPrologueEndLoc as suggested


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

https://reviews.llvm.org/D110740

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/test/CodeGen/X86/line-zero-prologue-end.ll
  llvm/test/CodeGen/X86/no-non-zero-debug-loc-prologue.ll
  llvm/test/DebugInfo/MIR/X86/debug-loc-0.mir
  llvm/test/DebugInfo/X86/dbg-prolog-end.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110740.376634.patch
Type: text/x-patch
Size: 5573 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211001/81dc515a/attachment.bin>


More information about the llvm-commits mailing list