This is an archive of the discontinued LLVM Phabricator instance.

Use libc++ headers from the correct build tree for sanitizer tests
AbandonedPublic

Authored by eugenis on Aug 26 2015, 5:46 PM.

Details

Summary

This is needed for http://reviews.llvm.org/D11740. With that change, libc++ headers can no longer be included directly from libc++ source.

Diff Detail

Event Timeline

eugenis updated this revision to Diff 33284.Aug 26 2015, 5:46 PM
eugenis retitled this revision from to Use libc++ headers from the correct build tree for sanitizer tests.
eugenis updated this object.
eugenis added reviewers: samsonov, EricWF, mclow.lists.
eugenis set the repository for this revision to rL LLVM.
eugenis added a subscriber: llvm-commits.
samsonov accepted this revision.Aug 26 2015, 9:36 PM
samsonov edited edge metadata.

LGTM

test/tsan/CMakeLists.txt
12

${COMPILER_RT_BINARY_DIR} here and below.

This revision is now accepted and ready to land.Aug 26 2015, 9:36 PM
EricWF edited edge metadata.Aug 27 2015, 2:49 PM

I would hold off on committing this. I'm going to fight not being able to use the headers in the libc++ source directory.

I agree, I just ran in some tricky issues with libcxx/libcxxabi interdependency. It's not easy to set up dependencies on the generated libc++ headers from libc++abi.

eugenis abandoned this revision.Oct 26 2015, 5:20 PM