aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2016-04-11 22:37:13 +0000
committerJustin Bogner <mail@justinbogner.com>2016-04-11 22:37:13 +0000
commit1faf01578e07aa54a9d68a8865d001fe9d416cc0 (patch)
tree8585a8cc387539946430db9a2b61959adc155533 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent3b6eaace6289f5ee9f21e6859d7964fd89760b06 (diff)
downloadllvm-1faf01578e07aa54a9d68a8865d001fe9d416cc0.zip
llvm-1faf01578e07aa54a9d68a8865d001fe9d416cc0.tar.gz
llvm-1faf01578e07aa54a9d68a8865d001fe9d416cc0.tar.bz2
CodeGen: Fix a use-after-free in TailDuplication
The call to processPHI already erased MI from its parent, so MI isn't even valid here, making the getParent() call a use-after-free in addition to being redundant. Found by ASan with the ArrayRecycler changes in llvm.org/pr26808. llvm-svn: 266008
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions