From 0a7051120c93d751e4ae9b863d55cced8d6442a6 Mon Sep 17 00:00:00 2001 From: Jonathan Thackray Date: Fri, 19 Sep 2025 17:24:19 +0100 Subject: [PATCH] [lldb] install lldb-tblgen by default to ease cross-compilation (one-liner) Right now, cross-building `lldb` means either installing a native `lldb-tblgen` by hand (non-trivial, as CMake is painful) or first building all of native clang because of how the CMake rules work, which is not fun. In keeping with the pattern established by llvm-tblgen and clang-tblgen, install lldb-tblgen to ease cross-compilation. Co-authored-by: Ross Burton --- lldb/utils/TableGen/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/utils/TableGen/CMakeLists.txt b/lldb/utils/TableGen/CMakeLists.txt index 0ac010bcda355..ce96dddd44201 100644 --- a/lldb/utils/TableGen/CMakeLists.txt +++ b/lldb/utils/TableGen/CMakeLists.txt @@ -8,6 +8,7 @@ if (NOT DEFINED LLDB_TABLEGEN_EXE) set(LLVM_LINK_COMPONENTS Support) add_tablegen(lldb-tblgen LLDB + DESTINATION "${CMAKE_INSTALL_BINDIR}" LLDBOptionDefEmitter.cpp LLDBPropertyDefEmitter.cpp LLDBTableGen.cpp