{"repo":"lldb-tools/lldb-mi","free":true,"listed":false,"github":"https://github.com/lldb-tools/lldb-mi","clone":"git clone https://github.com/lldb-tools/lldb-mi.git","description":"LLDB's machine interface driver","language":"C++","stars":192,"topics":["lldb","mi","debugging","llvm","gdb-mi"],"license":null,"category":"dev-tools","readme_excerpt":"lldb-mi LLDB's machine interface driver. Build lldb-mi uses CMake to build. The only dependencies needed for lldb-mi are a C++17 (since LLVM 16) compiler and LLDB itself (including its dependencies: Clang and LLVM). These dependencies should be installed in a way that they can be found via CMake's find package functionality. You need both the LLDB/Clang/LLVM headers and their compiled libraries for the build to work, but not the respective source files. Building against system LLDB If your distribution or operating system already ships a correctly configured LLDB/Clang/LLVM installation, lldb-mi can be built by simply running: Building against custom LLDB You can also build lldb-mi against a LLDB that you compiled yourself. For that, compile LLDB as described here but set CMAKE INSTALL PREFIX to a local directory and build the LLVM shared library by passing -DLLVM BUILD LLVM DYLIB=On to CMake. Afterwards point towards that prefix directory when building lldb-mi by setting CMAKE PREFIX PATH (e.g. cmake -DCMAKE PREFIX PATH=/home/yourname/lldb-mi/install ). This example script should build LLVM and lldb-mi on an average UNIX system in the /buildspace subfolder: Building against custom LLDB.framework (Darwin Only) You can also build lldb-mi against a LLDB.framework that you compiled yourself. You follow the same instructions as above but build the LLVM framework by passing -DLLDB BUILD FRAMEWORK=1 to CMake instead of using the shared library. Then build lldb-mi with -DUSE LLDB FR","default_branch":null,"files":null,"tree":[],"storefront":"/r/lldb-tools","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lldb-tools/lldb-mi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}