projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test commit for new post-commit hooks.
[oota-llvm.git]
/
unittests
/
Support
/
LeakDetectorTest.cpp
diff --git
a/unittests/Support/LeakDetectorTest.cpp
b/unittests/Support/LeakDetectorTest.cpp
index 85ef04676dcdca48df5c09ba7668c4a04d1d6276..d198c7a8bda0bc7fccc1fd7d454fc91558a657f8 100644
(file)
--- a/
unittests/Support/LeakDetectorTest.cpp
+++ b/
unittests/Support/LeakDetectorTest.cpp
@@
-15,6
+15,7
@@
using namespace llvm;
namespace {
#ifdef GTEST_HAS_DEATH_TEST
+#ifndef NDEBUG
TEST(LeakDetector, Death1) {
LeakDetector::addGarbageObject((void*) 1);
LeakDetector::addGarbageObject((void*) 2);
@@
-25,5
+26,6
@@
TEST(LeakDetector, Death1) {
"Cache != o && \"Object already in set!\"");
}
#endif
+#endif
}