diff options
| author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-01-22 08:54:03 +0000 |
|---|---|---|
| committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2015-01-22 08:54:03 +0000 |
| commit | e787b141e7e4fba95679a31bf744186cf9d71ece (patch) | |
| tree | 1ab854e80846f06d1f89dec6278ac27c45f6def0 | |
| parent | ffef4cf1e12d5837c42c5688cfb36616408bda1e (diff) | |
| download | bcm5719-llvm-e787b141e7e4fba95679a31bf744186cf9d71ece.tar.gz bcm5719-llvm-e787b141e7e4fba95679a31bf744186cf9d71ece.zip | |
[Msan] Fix the DynRet unit test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D7086
llvm-svn: 226799
| -rw-r--r-- | compiler-rt/lib/msan/tests/msan_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/msan/tests/msan_test.cc b/compiler-rt/lib/msan/tests/msan_test.cc index 6aba0de24e0..61a07aec3ed 100644 --- a/compiler-rt/lib/msan/tests/msan_test.cc +++ b/compiler-rt/lib/msan/tests/msan_test.cc @@ -511,10 +511,9 @@ static char *DynRetTestStr; TEST(MemorySanitizer, DynRet) { ReturnPoisoned<S8>(); - EXPECT_NOT_POISONED(clearenv()); + EXPECT_NOT_POISONED(atoi("0")); } - TEST(MemorySanitizer, DynRet1) { ReturnPoisoned<S8>(); } |

