[TSan] fix build and couple of unit tests on FreeBSD
authorDavid Carlier <devnexen@gmail.com>
Wed, 20 Jun 2018 20:17:44 +0000 (20:17 +0000)
committerDavid Carlier <devnexen@gmail.com>
Wed, 20 Jun 2018 20:17:44 +0000 (20:17 +0000)
commit7d796ececd6323756d5b4f61ec27072e1c1deda5
tree623019f52b5493b85ae3f9515589a4dfad6268ea
parent88de778b9bf82a8973b53e0f7697a898ecc223a5
[TSan] fix build and couple of unit tests on FreeBSD

Similarly to Msan adding -pie provokes linkage issue, was spotted with pie_test.cc
Set to XFAIL for couple of unit tests.

Reviewers: vitalybuka, krytarowski, dim

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D48317

llvm-svn: 335166
compiler-rt/lib/tsan/CMakeLists.txt
compiler-rt/test/tsan/ignored-interceptors-mmap.cc
compiler-rt/test/tsan/strerror_r.cc