llvm-capstone/lldb
Stella Stamenova ed98676fa4 Support multi-configuration generators correctly in several config files
Multi-configuration generators (such as Visual Studio and Xcode) allow the specification of a build flavor at build time instead of config time, so the lit configuration files need to support that - and they do for the most part. There are several places that had one of two issues (or both!):

1) Paths had %(build_mode)s set up, but then not configured, resulting in values that would not work correctly e.g. D:/llvm-build/%(build_mode)s/bin/dsymutil.exe
2) Paths did not have %(build_mode)s set up, but instead contained $(Configuration) (which is the value for Visual Studio at configuration time, for Xcode they would have had the equivalent) e.g. "D:/llvm-build/$(Configuration)/lib".

This seems to indicate that we still have a lot of fragility in the configurations, but also that a number of these paths are never used (at least on Windows) since the errors appear to have been there a while.

This patch fixes the configurations and it has been tested with Ninja and Visual Studio to generate the correct paths. We should consider removing some of these settings altogether.

Reviewed By: JDevlieghere, mehdi_amini

Differential Revision: https://reviews.llvm.org/D96427
2021-02-11 09:32:20 -08:00
..
bindings [lldb] Use internal_dict name over dict in python examples 2021-02-10 15:11:00 -08:00
cmake [lldb] Bump the required SWIG version to 3 2021-01-08 08:47:21 -08:00
docs Use internal_dict everywhere we refer to the python session dict in docs. 2021-02-09 17:48:47 -08:00
examples [lldb] Remove LLDB session dir and just store test traces in the respective test build directory 2020-12-04 11:43:10 +01:00
include/lldb [lldb] Minor cleanups to ThreadPlan.h (NFC) 2021-02-10 13:36:38 -08:00
packages/Python [lldb/test] Automatically find debug servers to test 2021-02-11 14:43:53 +01:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts [lldb][AArch64/Linux] Show memory tagged memory regions 2020-11-20 11:21:59 +00:00
source [lldb] Fix that running a top level expression without a process fails with a cryptic error 2021-02-11 17:07:11 +01:00
test Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
third_party/Python/module
tools [debugserver] Fix more warnings in DNBArchImplARM64 2021-02-05 15:21:24 -08:00
unittests Diagnose unhandled cases in DW_OP_deref 2021-02-10 17:27:02 -08:00
utils [lldb/test] Automatically find debug servers to test 2021-02-11 14:43:53 +01:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Remove dead code setting policies to NEW 2021-01-19 17:19:36 +02:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py