projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7849e41
)
IR: Cleanup after test to silence ASAN builds
author
Tim Northover
<tnorthover@apple.com>
Sat, 3 Aug 2019 15:40:00 +0000
(15:40 +0000)
committer
Tim Northover
<tnorthover@apple.com>
Sat, 3 Aug 2019 15:40:00 +0000
(15:40 +0000)
llvm-svn: 367758
llvm/unittests/IR/AsmWriterTest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/IR/AsmWriterTest.cpp
b/llvm/unittests/IR/AsmWriterTest.cpp
index
a9d761d
..
4fa1889
100644
(file)
--- a/
llvm/unittests/IR/AsmWriterTest.cpp
+++ b/
llvm/unittests/IR/AsmWriterTest.cpp
@@
-44,6
+44,7
@@
TEST(AsmWriterTest, DebugPrintDetachedArgument) {
raw_string_ostream OS(S);
Arg->print(OS);
EXPECT_EQ(S, "i32 <badref>");
+ delete Arg;
}
TEST(AsmWriterTest, DumpDIExpression) {