diff options
| author | Florian Hahn <flo@fhahn.com> | 2021-10-01 09:56:08 +0100 |
|---|---|---|
| committer | Florian Hahn <flo@fhahn.com> | 2021-10-01 10:52:48 +0100 |
| commit | 57fbb9ed0e4c9717b1106ce18f5653ce8f7136fa (patch) | |
| tree | ab2372155f58be9cc0a25efa4573baff814cbde5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 81d2cea6902e70c8c29b8b09f56d0c626e093a40 (diff) | |
[llvm-reduce] Skip updating calls where OldF isn't the called fn.
When replacing function calls, skip call instructions where the old
function is not the called function, but e.g. the old function is passed
as an argument.
This fixes a crash due to trying to construct invalid IR for the test
case.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D109759
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
