manojgupta added a comment. This is a local patch we have been carrying in Chrome OS. What we do to cross compile lldb-server:
1. Create host build to build tools like llvm-tblgen, clang-tblgen, lldb-tblgen 2. Cross compile llvm and clang libraries using the just build *tblgen. 3. Cross compile lldb by setting the path to pre-cross compiled libraries and *tblgen binaries from step 1. Without this patch, cross compiling lldb-server start yet another host build just to build lldb-tblgen which we want to avoid. Also see https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2851114/12/dev-util/lldb-server/lldb-server-12.0_pre416183.ebuild Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108053/new/ https://reviews.llvm.org/D108053 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits