llvm-project/lldb
John Ericson ad8c34bc30 [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited
A simple sed doing these substitutions:

- `${LLVM_BINARY_DIR}/(\$\{CMAKE_CFG_INTDIR}/)?lib(${LLVM_LIBDIR_SUFFIX})?\>` -> `${LLVM_LIBRARY_DIR}`
- `${LLVM_BINARY_DIR}/(\$\{CMAKE_CFG_INTDIR}/)?bin\>` -> `${LLVM_TOOLS_BINARY_DIR}`

where `\>` means "word boundary".

The only manual modifications were reverting changes in

- `compiler-rt/cmake/Modules/CompilerRTUtils.cmake
- `runtimes/CMakeLists.txt`

because these were "entry points" where we wanted to tread carefully not not introduce a "loop" which would end with an undefined variable being expanded to nothing.

This hopefully increases readability overall, and also decreases the usages of `LLVM_LIBDIR_SUFFIX`, preparing us for D130586.

Reviewed By: sebastian-ne

Differential Revision: https://reviews.llvm.org/D132316
2022-08-24 10:14:05 -04:00
..
bindings Don't create sections for SHN_ABS symbols in ELF files. 2022-08-22 14:46:27 -07:00
cmake [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited 2022-08-24 10:14:05 -04:00
docs [lldb] Fix formatting in python-reference.rst 2022-08-07 12:17:36 -06:00
examples [LLDB] Remove __future__ imports from examples 2022-08-15 09:04:25 +00:00
include/lldb Don't create sections for SHN_ABS symbols in ELF files. 2022-08-22 14:46:27 -07:00
packages/Python/lldbsuite [lldb] Remove prefer-dynamic-value test override 2022-08-22 15:46:03 -07:00
resources
scripts
source [lldb] [gdb-remote] Use Communication::WriteAll() over Write() 2022-08-23 15:49:16 +02:00
test [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited 2022-08-24 10:14:05 -04:00
third_party/Python/module [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
tools Modify all register values whose byte size matches the address size to be formatter as eFormatAddressInfo. 2022-08-22 14:48:16 -07:00
unittests [lldb] [gdb-remote] Use Communication::WriteAll() over Write() 2022-08-23 15:49:16 +02:00
utils [lldb] Refactor command option enum values (NFC) 2022-07-14 21:18:07 -07:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt lldb: Disable unittests if llvm_gtest target does not exist 2022-08-10 16:56:08 -07:00
CODE_OWNERS.txt [CODE OWNERS] Add wallace as code owner 2022-01-12 12:36:30 -08:00
LICENSE.TXT
use_lldb_suite_root.py