aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
diff options
context:
space:
mode:
authorDwight Guth <dwight.guth@runtimeverification.com>2021-11-09 10:42:52 -0800
committerArthur Eubanks <aeubanks@google.com>2021-11-09 10:43:38 -0800
commit16c3db8def87529f1392f26c17cb014108968bb4 (patch)
tree025c006e6ef9db220226a1e15ebd7dc56efc8319 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h
parenta5d6dcbbb25bd84a0ba694d2c3c3dacbf96e9fc7 (diff)
downloadllvm-16c3db8def87529f1392f26c17cb014108968bb4.zip
llvm-16c3db8def87529f1392f26c17cb014108968bb4.tar.gz
llvm-16c3db8def87529f1392f26c17cb014108968bb4.tar.bz2
[llvm-reduce] Fix invalid reduction in basic-blocks delta pass
Previously, if the basic-blocks delta pass tried to remove a basic block that was the last basic block in a function that did not have external or weak linkage, the resulting IR would become invalid. Since removing the last basic block in a function is effectively identical to removing the function body itself, we check explicitly for this case and if we detect it, we run the same logic as in ReduceFunctionBodies.cpp Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D113486
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions