[libcxx] Make sure use_system_cxx_lib does not override cxx_runtime_root for DYLD_LIB...
authorLouis Dionne <ldionne@apple.com>
Fri, 14 Dec 2018 18:19:14 +0000 (18:19 +0000)
committerLouis Dionne <ldionne@apple.com>
Fri, 14 Dec 2018 18:19:14 +0000 (18:19 +0000)
commitbc297b1da9d63bd2ee64dd0f57cb41e66c2a50a9
tree870170a548824cd605e46ea3756ab9891d8550f7
parent5948b7f30fc4ac9c2ddc142ffb4341bd9eb2289b
[libcxx] Make sure use_system_cxx_lib does not override cxx_runtime_root for DYLD_LIBRARY_PATH

Otherwise, even specifying a runtime root different from the library
we're linking against won't work -- the library we're linking against
is always used. This is undesirable if we try testing something like
linking against a recent libc++.dylib but running the tests against an
older version (the back-deployment use case).

llvm-svn: 349171
libcxx/docs/TestingLibcxx.rst
libcxx/utils/libcxx/test/target_info.py