diff options
author | Petar Jovanovic <petar.jovanovic@mips.com> | 2018-01-30 16:42:04 +0000 |
---|---|---|
committer | Petar Jovanovic <petar.jovanovic@mips.com> | 2018-01-30 16:42:04 +0000 |
commit | 9208e8fbf65d885b55dda55097e7235dfe9c5c8f (patch) | |
tree | c196349de9677072dbf3523e34832c840ff44a49 /lldb/packages/Python/lldbsuite/test/python_api/process | |
parent | b36fbbc3ec9fe0e1636c16d38083c65aefbafa7e (diff) | |
download | bcm5719-llvm-9208e8fbf65d885b55dda55097e7235dfe9c5c8f.tar.gz bcm5719-llvm-9208e8fbf65d885b55dda55097e7235dfe9c5c8f.zip |
[DeadArgumentElimination] Preserve llvm.dbg.values's first argument
When removing return value Dead Argument Elimination pass clobbers first
llvm.dbg.value’s argument for live arguments of that function by replacing
it with nullptr. In the next pass it will be deleted, so debug location
about those arguments are lost. This change fixes it.
Patch by Djordje Todorovic.
Differential Revision: https://reviews.llvm.org/D42541
llvm-svn: 323784
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process')
0 files changed, 0 insertions, 0 deletions