[PATCH] D73526: [SafeStack][DebugInfo] Insert DW_OP_deref in correct location
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 20:24:48 PST 2020
leonardchan created this revision.
leonardchan added reviewers: phosek, jmorse, aprantl.
leonardchan added projects: LLVM, debug-info.
Herald added a subscriber: hiraditya.
This patch addresses the issue found in https://bugs.llvm.org/show_bug.cgi?id=44585 where a DW_OP_deref was placed at the end of a dwarf expression, resulting in corrupt symbols when debugging.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73526
Files:
llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
llvm/test/DebugInfo/COFF/types-array-advanced.ll
llvm/test/DebugInfo/X86/safestack-byval.ll
llvm/test/DebugInfo/X86/safestack-deref.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73526.240767.patch
Type: text/x-patch
Size: 7968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200128/72719a5e/attachment.bin>
More information about the llvm-commits
mailing list