summaryrefslogtreecommitdiff
path: root/test/tsan/map32bit.cc
diff options
context:
space:
mode:
authorMohit K. Bhakkad <mohit.bhakkad@imgtec.com>2015-02-20 09:32:45 +0000
committerMohit K. Bhakkad <mohit.bhakkad@imgtec.com>2015-02-20 09:32:45 +0000
commit52814b38d6d3f5798fc9c939401b3a911c078488 (patch)
treef0c581fb6e84059e5f30fa8d78fb2009ddc3c857 /test/tsan/map32bit.cc
parenta61eea78ae7717fe144d386a02b110f7fbe413d3 (diff)
[TSan][MIPS64] Fix few more test cases for MIPS64
Patch by Sagar Thakur Reviewers: dvyukov, samsonov, kcc. Subscribers: dsanders, mohit.bhakkad, Anand.Takale, llvm-commits. Differential Revision: http://reviews.llvm.org/D7290 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@230002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/map32bit.cc')
-rw-r--r--test/tsan/map32bit.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/tsan/map32bit.cc b/test/tsan/map32bit.cc
index 9dae6880e..d9a04655d 100644
--- a/test/tsan/map32bit.cc
+++ b/test/tsan/map32bit.cc
@@ -7,6 +7,9 @@
// Test for issue:
// https://code.google.com/p/thread-sanitizer/issues/detail?id=5
+// MAP_32BIT flag for mmap is supported only for x86_64.
+// XFAIL: mips64
+
void *Thread(void *ptr) {
*(int*)ptr = 42;
barrier_wait(&barrier);