summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-09-26 11:03:25 +0100
committerFlorian Hahn <flo@fhahn.com>2020-09-26 13:47:50 +0100
commit8f0466edc0cb3782af4108bfe8840e2ad3de9b49 (patch)
treef279d852ef72bfc781ced1b357142c8e37d1deb3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parentb2c0193afa2b25afc718bc32751147c5dc1bfd63 (diff)
[DSE] Unify & fix mem terminator location checks.
When looking for memory defs killed by memory terminators the code currently incorrectly ignores the size argument of llvm.lifetime.end. This patch updates the code to use isMemTerminator and updates isMemTerminator to use isOverwrite() to make sure locations that are outside the range marked as dead by llvm.lifetime.end are not considered. Note that isOverwrite is only used for llvm.lifetime.end, because free-like functions make the whole underlying object dead.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions