Ref: https://gist.github.com/mariusdkm/65922612e78819a569f8d5eb2ae337e9
Installs lldb-mi using macports. This is if you are using brew.
- ensure llvm is installed
brew install llvm
- clone and setup lldb-mi
git clone https://github.com/lldb-tools/lldb-mi
mkdir -p lldb-mi/build
cd lldb-mi/build
- configure and build
cmake .. -D CMAKE_PREFIX_PATH=$(brew --prefix llvm)/lib/cmake/llvm
cmake --build .
- move the binary
sudo mv src/lldb-mi /usr/local/bin/