diff options
author | Petar Jovanovic <petar.jovanovic@mips.com> | 2018-09-24 10:01:24 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@mips.com> | 2018-09-24 10:01:24 +0000 |
commit | c451c9ef50b7b3df260e709a9dcd6324356d57a2 (patch) | |
tree | 9f97a79c1e713e1ab2a3602bfc08c6ca6481a56b /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a7b2405b06c97d1610ec4c212028e362c36c1473 (diff) | |
download | llvm-c451c9ef50b7b3df260e709a9dcd6324356d57a2.zip llvm-c451c9ef50b7b3df260e709a9dcd6324356d57a2.tar.gz llvm-c451c9ef50b7b3df260e709a9dcd6324356d57a2.tar.bz2 |
[deadargelim] Update dbg.value of 'unused' parameters
DeadArgElim pass marks unused function arguments as ‘undef’ without updating
existing dbg.values referring to it. As a consequence the debug info
metadata in the final executable was wrong.
Patch by Djordje Todorovic.
Differential Revision: https://reviews.llvm.org/D51968
llvm-svn: 342871
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions