summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/tests
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2015-04-08 17:08:24 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2015-04-08 17:08:24 +0000
commitd40d46514067d73233cdbdaaa9b8ec93cc2fdcc9 (patch)
tree8a89d72a7df60c046eab4af8598363572a635691 /lib/sanitizer_common/tests
parent1a9b388032ffbf42b1c754d8455d28eaa36c816b (diff)
Move some POSIX-specific functions from sanitizer_libc.h to a new sanitizer_posix.h
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@234418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/tests')
-rw-r--r--lib/sanitizer_common/tests/sanitizer_libc_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/tests/sanitizer_libc_test.cc b/lib/sanitizer_common/tests/sanitizer_libc_test.cc
index c5899acd8..bf3a93e20 100644
--- a/lib/sanitizer_common/tests/sanitizer_libc_test.cc
+++ b/lib/sanitizer_common/tests/sanitizer_libc_test.cc
@@ -152,7 +152,7 @@ TEST(SanitizerCommon, InternalMmapWithOffset) {
ASSERT_EQ('B', p[1]);
internal_close(fd);
- internal_munmap(p, page_size);
+ UnmapOrDie(p, page_size);
internal_unlink(tmpfile);
}
#endif