aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2024-10-30 16:56:30 -0700
committerGitHub <noreply@github.com>2024-10-30 16:56:30 -0700
commitb01e2a8b5620466c3b80cc6f049efbc90b9d103a (patch)
treecb3c3884ae10ea0bbe6f7754545d9f031c9f58a6 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent51628faa0122d61b7725ec869fa5c0be1d739edd (diff)
downloadllvm-b01e2a8b5620466c3b80cc6f049efbc90b9d103a.zip
llvm-b01e2a8b5620466c3b80cc6f049efbc90b9d103a.tar.gz
llvm-b01e2a8b5620466c3b80cc6f049efbc90b9d103a.tar.bz2
[llvm] Allow always dropping all llvm.type.test sequences
Currently, the `DropTypeTests` parameter only fully works with phi nodes and llvm.assume instructions. However, we'd like CFI to work in conjunction with FatLTO, in so far as the bitcode section should be able to contain the CFI instrumentation, while any incompatible bits are dropped when compiling the object code. To do that, we need to drop the llvm.type.test instructions everywhere, and not just their uses in phi nodes. This patch updates the LowerTypeTest pass so that uses are removed, and replaced with `true` in all cases, and not just in phi nodes. Addressing this will allow us to fix #112053 by modifying the FatLTO pipeline. Reviewers: pcc, nikic Reviewed By: pcc Pull Request: https://github.com/llvm/llvm-project/pull/112787
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions