Getting Started

Building LLDB for development

Follow the following steps to build LLDB

Step 1: Install prerequisites

sudo apt-get install cmake ninja-build build-essential subversion swig python2.7-dev libedit-dev libncurses5-dev

Step 2: Checkout LLVM svn repository

svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm

Step 3: Checkout clang and LLDB svn repository

cd llvm/tools
svn co http://llvm.org/svn/llvm-project/cfe/trunk clang
svn co http://llvm.org/svn/llvm-project/lldb/trunk lldb

Step 4: Building LLDB using cmake and ninja

cd ../..             
mkdir build             
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug ../llvm

References

  1. http://lldb.llvm.org/build.html

WorkingGroups/ToolChain/LLDB/GettingStarted (last modified 2015-03-15 00:03:31)