llvm/lldb
Dimitry Andric b5a927b972 [lldb] Move create_relative_symlink function up in CMake hierarchy
Configuring lldb with `LLDB_ENABLE_PYTHON=OFF` and `LLDB_ENABLE_LUA=ON` results in a CMake error:

    CMake Error at lldb/bindings/lua/CMakeLists.txt:47 (create_relative_symlink):
      Unknown CMake command "create_relative_symlink".
    Call Stack (most recent call first):
      lldb/CMakeLists.txt:117 (finish_swig_lua)

This is because the CMake function `create_relative_symlink` only exists in `lldb/bindings/python/CMakeLists.txt`, and not in `lldb/bindings/lua/CMakeLists.txt`.

Move the function to `lldb/bindings/CMakeLists.txt`, so it is available for all language bindings.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D114465
2021-11-23 21:59:49 +01:00
..
bindings [lldb] Move create_relative_symlink function up in CMake hierarchy 2021-11-23 21:59:49 +01:00
cmake Revert "Use GNUInstallDirs to support custom installation dirs. -- LLVM" 2021-11-02 19:11:44 +01:00
docs [NFC] Trim trailing whitespace in *.rst 2021-11-15 09:17:08 +08:00
examples Attempt to fix e3dea5cf0e 2021-11-22 16:33:40 -08:00
include/lldb [formatters] Add a formatter for libstdc++ optional 2021-11-22 15:36:46 -08:00
packages/Python [lldb/test] Make it possible to run the mock gdb server on a single thread 2021-11-22 15:14:50 +01:00
resources
scripts
source [lldb] Fix lookup for global constants in namespaces 2021-11-23 12:53:03 +01:00
test [lldb] Deflake TestTsanBasic.py 2021-11-23 17:55:20 +01:00
third_party/Python/module [lldb][NFC] Inclusive language: replace master/slave names for ptys 2021-11-12 10:54:18 -06:00
tools [debugserver] Remove varaible ldb_set which is set but not used. 2021-11-10 11:56:59 -08:00
unittests [lldb] Fix [some] leaks in python bindings 2021-11-22 15:14:52 +01:00
utils
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [lldb] remove usage of distutils, fix python path on debian/ubuntu 2021-11-17 13:14:30 -08:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py