[PATCH] D87787: Temporary fix for debug loc list bug with basic block sections
Sriraman Tallam via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 12:38:37 PDT 2020
tmsriram created this revision.
tmsriram added a reviewer: dblaikie.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
tmsriram requested review of this revision.
Herald added a subscriber: ormris.
The proper fix for this is being worked out in D85085 <https://reviews.llvm.org/D85085>.
Until then, this one line fix removes the assert fail with basic block sections with debug info. Bug tracking this: 47549
This fix does not generate loc list or DW_AT_const_value if the argument is mentioned in a different section than the start of the function.
https://reviews.llvm.org/D87787
Files:
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
llvm/test/DebugInfo/X86/basic-block-sections-debug-loc.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87787.292312.patch
Type: text/x-patch
Size: 7185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/856a3bb2/attachment.bin>
More information about the llvm-commits
mailing list