[PATCH] D51968: [deadargelim] Update dbg.value of 'unused' parameters
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 12 01:42:34 PDT 2018
djtodoro created this revision.
djtodoro added reviewers: aprantl, vsk.
djtodoro added a project: debug-info.
Herald added subscribers: llvm-commits, JDevlieghere.
DeadArgElim pass marks unused function arguments
as ‘undef’ without updating existing dbg.values refering to it.
As a consequence the debug info metadata in the final executable is wrong.
Repository:
rL LLVM
https://reviews.llvm.org/D51968
Files:
lib/Transforms/IPO/DeadArgumentElimination.cpp
test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51968.165030.patch
Type: text/x-patch
Size: 4464 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180912/05103cf6/attachment.bin>
More information about the llvm-commits
mailing list