[PATCH] SROA: Defer migrating the debug info for new allocas until after all partitions are created.
Adrian Prantl
aprantl at apple.com
Tue Dec 23 16:56:32 PST 2014
When compiling really large programs the pointer values in the DbgDeclares map may actually get recycled.
- clear the pointer map when entering a function
- remove values after the dbg.declare has been deleted
tested via an assertion.
http://reviews.llvm.org/D6766
Files:
lib/Transforms/Scalar/SROA.cpp
test/DebugInfo/X86/array2.ll
test/DebugInfo/X86/sroasplit-1.ll
test/DebugInfo/X86/sroasplit-2.ll
test/DebugInfo/X86/sroasplit-3.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6766.17615.patch
Type: text/x-patch
Size: 20638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141224/905f0da6/attachment.bin>
More information about the llvm-commits
mailing list