mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 05:00:39 +00:00
Add #ifndef NDEBUG markers around EXPECT_DEATH after r267270
http://bb.pgr.jp/builders/cmake-llvm-x86_64-linux/builds/36076 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267275 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26f6676ea8
commit
bcf5d1ff20
@ -2341,6 +2341,7 @@ TEST_F(DistinctMDOperandPlaceholderTest, replaceUseWithNoUser) {
|
||||
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 @@ TEST_F(DistinctMDOperandPlaceholderTest, TrackingMDRefAndDistinctMDNode) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
} // end namespace
|
||||
|
Loading…
Reference in New Issue
Block a user