[PATCH] D85085: Fix debug_loc offset difference with basic block sections

Sriraman Tallam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 18:15:49 PDT 2021


tmsriram updated this revision to Diff 347539.
tmsriram marked 2 inline comments as done.
tmsriram added a comment.

Address reviewer comments:

- Convert while(true) to for (...)
- Fix tests
- Provide more info on how loc list ranges are formed.


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

https://reviews.llvm.org/D85085

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
  llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-const-value-1.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-const-value-2.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loc-split-range.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loc.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-1.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-2.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-3.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-4.ll
  llvm/test/DebugInfo/X86/basic-block-sections-debug-loclist-5.ll
  llvm/test/DebugInfo/X86/basic-block-sections_1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85085.347539.patch
Type: text/x-patch
Size: 45327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210525/4c6e8e2b/attachment.bin>


More information about the llvm-commits mailing list