commit | 004eb55feb1f0a44afe462b48061c9b1ab78eab0 | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 23 04:34:11 2016 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Sat Apr 23 04:34:11 2016 +0000 |
tree | 41b080ef4e6fc3fa1bb50ab50050ccdae1bdcd6a | |
parent | c814e0c1fd51de39c46a8b6168a299dacc410f17 [diff] [blame] |
Add #ifndef NDEBUG markers around EXPECT_DEATH after r267270 http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/36076 llvm-svn: 267275
diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index 424b7be..71c5dd4 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp
@@ -2341,6 +2341,7 @@ DistinctMDOperandPlaceholder(7).replaceUseWith(MDTuple::get(Context, None)); } +#ifndef NDEBUG #ifdef GTEST_HAS_DEATH_TEST TEST_F(DistinctMDOperandPlaceholderTest, MetadataAsValue) { // This shouldn't crash. @@ -2383,5 +2384,6 @@ } } #endif +#endif } // end namespace