[llvm] r374808 - [ASan] Fix IRTests/InstructionsTest.UnaryOperator
Cameron McInally via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 14 12:17:31 PDT 2019
Author: mcinally
Date: Mon Oct 14 12:17:31 2019
New Revision: 374808
URL: http://llvm.org/viewvc/llvm-project?rev=374808&view=rev
Log:
[ASan] Fix IRTests/InstructionsTest.UnaryOperator
Fix ASan regression from r374782.
Modified:
llvm/trunk/unittests/IR/InstructionsTest.cpp
Modified: llvm/trunk/unittests/IR/InstructionsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/IR/InstructionsTest.cpp?rev=374808&r1=374807&r2=374808&view=diff
==============================================================================
--- llvm/trunk/unittests/IR/InstructionsTest.cpp (original)
+++ llvm/trunk/unittests/IR/InstructionsTest.cpp Mon Oct 14 12:17:31 2019
@@ -1128,6 +1128,7 @@ TEST(InstructionsTest, UnaryOperator) {
EXPECT_FALSE(isa<BinaryOperator>(F));
F->deleteValue();
+ I->deleteValue();
}
} // end anonymous namespace
More information about the llvm-commits
mailing list