summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-11-10 09:16:32 -0500
committerSanjay Patel <spatel@rotateright.com>2019-11-10 09:18:11 -0500
commitef02831f0a4e3b3ccaa45a5589e4cabecbf527ab (patch)
tree31fa4f248e89b8780bd205344fb3e83dd4560954 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent4ff246fef25e1353c6f5ebbde625ae30953def7a (diff)
downloadbcm5719-llvm-ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab.tar.gz
bcm5719-llvm-ef02831f0a4e3b3ccaa45a5589e4cabecbf527ab.zip
[InstCombine] avoid crash from deleting an instruction that still has uses (PR43723)
We gather a set of white-listed instructions in isAllocSiteRemovable() and then replace/erase them. But we don't know in general if the instructions in the set have uses amongst themselves, so order of deletion makes a difference. There's already a special-case for the llvm.objectsize intrinsic, so add another for llvm.invariant.end. Should fix: https://bugs.llvm.org/show_bug.cgi?id=43723 Differential Revision: https://reviews.llvm.org/D69977
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud