llvm-project/lldb/packages/Python/lldbsuite/test/make
Jordan Rupprecht cb0eb9d8dd [test] Fix LLDB tests with just-built libcxx when using a target directory.
In certain configurations, libc++ headers all exist in the same directory, and libc++ binaries exist in the same directory as lldb libs. When `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is enabled (*and* the host is not Apple, which is why I assume this wasn't caught by others?), this is not the case: most headers will exist in the usual `include/c++/v1` directory, but `__config_site` exists in `include/$TRIPLE/c++/v1`. Likewise, the libc++.so binary exists in `lib/$TRIPLE/`, not `lib/` (where LLDB libraries reside).

This also adds the just-built-libcxx functionality to the lldb-dotest tool.

The `LIBCXX_` cmake config is borrowed from `libcxx/CMakeLists.txt`. I could not figure out a way to share the cmake config; ideally we would reuse the same config instead of copy/paste.

Reviewed By: JDevlieghere, fdeazeve

Differential Revision: https://reviews.llvm.org/D133973
2022-10-26 12:07:22 -07:00
..
Android.rules [test] Migrate -gcc-toolchain with space separator to --gcc-toolchain= 2021-08-20 15:24:58 -07:00
Makefile.rules [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
dylib.h
entitlements-simulator.plist [lldb] Don't add no-sandbox entitlement when running tests on simulator 2020-10-13 15:08:46 +02:00
entitlements.plist [lldb] Code sign binaries with entitlements 2020-08-19 11:55:36 -07:00
pseudo_barrier.h
test_common.h
thread.h [lldb] [test] Implement getting thread ID on FreeBSD 2022-06-10 10:26:58 +02:00