summaryrefslogtreecommitdiff
path: root/test/tsan/ignore_lib5.cc
AgeCommit message (Collapse)Author
2017-05-01[powerpc] deactivate flakey tests on powerpc64leBill Seurer
These test cases occassionally fail when run on powerpc64le: ignore_lib1.cc ignore_lib5.cc TestCases/Posix/current_allocated_bytes.cc rtl/TsanRtlTest/Posix.ThreadLocalAccesses TestCases/Posix/coverage-fork-direct.cc The failures cause false problem reports to be sent to developers whose code had nothing to do with the failures. Reactivate them when the real problems are fixed. This could also be related to the same problems as with the tests ThreadedOneSizeMallocStressTest, ThreadedMallocStressTest, ManyThreadsTest, and several others that do not run reliably on powerpc. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301798 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-23[test] Use a helper macro to refer to MAP_ANON (NFC)Vedant Kumar
Some of our internal bots use old SDK's which don't define MAP_ANON. Use a helper macro to pass the right flag into mmap(). git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287833 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-22tsan: fix build after 287632Dmitry Vyukov
1. Mac does not have MAP_32BIT. Define it to 0 if it is not defined. 2. We are lacking nolibc stub for ListOfModules::init. Add it. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287634 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-22tsan: switch libignore from /proc/self/maps to dl_iterate_phdrDmitry Vyukov
/proc/self/maps can't be read atomically, this leads to episodic crashes in libignore as it thinks that a module is loaded twice. See the new test for an example. dl_iterate_phdr does not have this problem. Switch libignore to dl_iterate_phdr. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@287632 91177308-0d34-0410-b5e6-96231b3b80d8