llvm-project/lldb/test/API
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/platform [lldb] Use assertState in even more tests (NFC) 2022-06-29 17:05:58 -07:00
api [lldb] Add SBBreakpointLocation::SetCallback 2022-09-12 17:44:02 +00:00
arm [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
assert_messages_test [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
benchmarks [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
commands Revert "[clang] Instantiate alias templates with sugar" 2022-10-26 10:14:21 +02:00
driver [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
functionalities Fix breakpoint setting so it always works when there is a line entry in a compile unit's line table. 2022-10-24 16:28:39 -07:00
iohandler [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
lang [lldb] Skip TestFullLtoStepping in older clangs 2022-10-24 12:12:36 -07:00
linux [lldb][AArch64] Add support for memory tags in core files 2022-07-26 08:46:36 +01:00
lldbutil-tests/failed-to-hit-breakpoint [lldb] Improve the error message in run_to_breakpoint_do_run 2022-07-07 10:22:45 -07:00
lua_api [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
macosx [lldb-tests] Add compiler version check in TestFunctionStarts 2022-10-18 13:48:26 -04:00
python_api Revert "[lldb] Fix member access in GetExpressionPath" 2022-10-20 15:21:59 -07:00
qemu [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
repl/clang [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
sample_test [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
sanity [lldb] Remove prefer-dynamic-value test override 2022-08-22 15:46:03 -07:00
source-manager [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
symbol_ondemand [lldb] Remove unused "import unittest2" statements 2022-08-11 19:11:01 -07:00
terminal [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
test_runner/test [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
test_utils [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
tools [lldb-vscode] Send Statistics Dump in terminated event 2022-10-25 18:47:29 -07:00
types [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
CMakeLists.txt [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 1 2022-09-14 10:58:47 -04:00
dotest.py
get_darwin_real_python.py
lit.cfg.py [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
lit.site.cfg.py.in [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
lldbtest.py [LLDB] Remove __future__ imports from tests 2022-08-15 08:54:06 +00:00
use_lldb_suite.py