aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
diff options
context:
space:
mode:
authorur4t <46435411+ur4t@users.noreply.github.com>2023-09-19 13:56:03 +0800
committerGitHub <noreply@github.com>2023-09-18 22:56:03 -0700
commit7ac1f60f01a73f9678bba2385e933864ecce8622 (patch)
treee4677f2dc70b281bcfdad825f6e195d7b48d957b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h
parent44532a9dd4a0ed08850dbddf80b7abcc51c4a7f1 (diff)
downloadllvm-7ac1f60f01a73f9678bba2385e933864ecce8622.zip
llvm-7ac1f60f01a73f9678bba2385e933864ecce8622.tar.gz
llvm-7ac1f60f01a73f9678bba2385e933864ecce8622.tar.bz2
[llvm-libgcc][CMake] Refactor llvm-libgcc (#65455)
There are some issues in `llvm-libgcc` before this patch: Commit c5a20b518203613497fa864867fc232648006068 ([llvm-libgcc] initial commit) uses `$<TARGET_OBJECTS:unwind_static>` to get libunwind objects, which is empty. The built library is actually a shared version of libclang_rt.builtins. When configuring with `llvm/CMakeLists.txt`, target `llvm-libgcc` requires a corresponding target in `llvm-libgcc/CMakeLists.txt`. Per target installation is not handled by `llvm-libgcc`, which is not consistent with `libunwind`. This patch fixes those issues by: Reusing target `unwind_shared` in `libunwind`, linking `compiler-rt.builtins` objects into it, and applying version script. Adding target `llvm-libgcc`, creating symlinks, and utilizing cmake's dependency and component mechanism to ensure link targets will be built and installed along with symlinks. Mimicking `libunwind` to handle per target installation. It is quite hard to set necessary options without further modifying the order of runtime projects in `runtimes/CMakeLists.txt`. So though this patch reveals the possibility of co-existence of `llvm-libgcc` and `compiler-rt`/`libunwind` in `LLVM_ENABLE_RUNTIMES`, we still inhibit it to minimize influence on other projects, considering that `llvm-libgcc` is only intended for toolchain vendors, and not for casual use.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.h')
0 files changed, 0 insertions, 0 deletions