[PATCH] Debug Info: Handle by-reference arguments correctly during inlining.
Adrian Prantl
aprantl at apple.com
Fri Jan 16 09:10:59 PST 2015
Hi echristo, dblaikie,
If a function argument that is passed by reference is remapped to an alloca in the calling function, eliminate the (now) superfluous DW_OP_deref from the DIExpression.
Depends on http://reviews.llvm.org/D6986.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D7016
Files:
lib/Transforms/Utils/CloneFunction.cpp
test/DebugInfo/inline-indirect-arg.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7016.18304.patch
Type: text/x-patch
Size: 8685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150116/5f1cbb61/attachment.bin>
More information about the llvm-commits
mailing list