[PATCH] D85085: Fix debug_loc offset difference with basic block sections
Sriraman Tallam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 11:02:33 PDT 2020
tmsriram updated this revision to Diff 287715.
tmsriram added a comment.
Redo the patch according to @dblaikie 's observation that loc list need not be used even with sections.
This change checks if debug loc entries can be merged to form a larger range even if they are split across sections. The test checks that a single range is collapsed into DW_AT_const_value both with and without sections.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85085/new/
https://reviews.llvm.org/D85085
Files:
llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/DebugInfo/X86/basic-block-sections-debug-loc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85085.287715.patch
Type: text/x-patch
Size: 8471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200825/a316a1c7/attachment.bin>
More information about the llvm-commits
mailing list