summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorBen Craig <ben.craig@codeaurora.org>2016-04-19 12:49:05 +0000
committerBen Craig <ben.craig@codeaurora.org>2016-04-19 12:49:05 +0000
commit0142a9da8150d2bdc7c07c39aa8960981b615606 (patch)
treea351ea60477126b7df3d8ea4edcf3e97199d2230 /llvm/test/Transforms
parente9fdfd868a0c19c6c3f33f7a946ad919f7426570 (diff)
downloadbcm5719-llvm-0142a9da8150d2bdc7c07c39aa8960981b615606.tar.gz
bcm5719-llvm-0142a9da8150d2bdc7c07c39aa8960981b615606.zip
Framework to allow testing of static libc++abi
These changes make linking against static libraries more explicit. Instead of using -lc++ and -lc++abi in the tests, an absolute path to the library is provided instead. The choices of shared vs. static, and the choices of library paths for both libcxx and libcxxabi needed to be exchanged for this to work. In other words, libcxx tests need to know the library path of libcxxabi, and whether libcxxabi is a static or shared library. Some Mac specific logic for testing against libc++abi had to be moved from libcxxabi's config.py, as it was overriding choices made in libcxx's config.py. That logic is now in libcxx's target_info.py. Testing a static libcxx on Linux will now automatically link in librt most of the time. Previously, lots of pthread tests would fail because of an unresolved clock_gettime. http://reviews.llvm.org/D16544 llvm-svn: 266730
Diffstat (limited to 'llvm/test/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud