[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 18 21:28:19 PDT 2020
tmsriram updated this revision to Diff 286474.
tmsriram added a comment.
@amharc
When basic block sections are on and the debug_loc entries span multiple sections, emit entries for each section. This keeps the fidelity and there is no loss of debug information.
To summarize, by default there is only one entry which is collapsed into a DW_AT_const_value.
WIth basic block sections, this one entry spans multiple sections and must be split into an entry for each section.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85085/new/
https://reviews.llvm.org/D85085
Files:
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.286474.patch
Type: text/x-patch
Size: 8683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/44a9e9c8/attachment.bin>
More information about the llvm-commits
mailing list