diff options
author | Ricky Zhou <ricky@rzhou.org> | 2021-12-18 18:49:17 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-18 18:49:17 +0100 |
commit | 9927a06f74bb48e1e5a53fb686301c71f0dec46a (patch) | |
tree | fe31605c3a0762c7dcbd3800c254ee667a1804a1 /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 474b20b45053aa790bb425528b3f98ebd2f75120 (diff) | |
download | llvm-9927a06f74bb48e1e5a53fb686301c71f0dec46a.zip llvm-9927a06f74bb48e1e5a53fb686301c71f0dec46a.tar.gz llvm-9927a06f74bb48e1e5a53fb686301c71f0dec46a.tar.bz2 |
[AA] Handle callbr instructions in alias analysis
Before this change, AAResults::getModRefInfo() was missing a case for
callbr instructions (asm goto), which may read/write memory. In PR52735,
this led to a miscompile where a load was incorrect eliminated.
Add this missing case, as well as an assert verifying that all
memory-accessing instructions are handled properly.
Fixes #52735.
Differential Revision: https://reviews.llvm.org/D115992
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions