Checking out LLDB sources
Refer to the LLVM Getting Started Guide for general instructions on how to check out source. Note that LLDB depends on having a working checkout of LLVM and Clang, so the first step is to download LLVM and Clang sources as described at the above URL. Then you can additionally download the LLDB sources from the following repository URLs.
SVN Repository: http://llvm.org/svn/llvm-project/lldb/trunk
Git Clone: http://llvm.org/git/lldb.git
For non-Mac platforms, and for MacOSX building with CMake (not Xcode), you should check out your sources to adhere to the following directory structure:
llvm | `-- tools | +-- clang | `-- lldb
For MacOSX building from Xcode, simply checkout LLDB and then build from Xcode. The Xcode project will automatically detect that it is a fresh checkout, and checkout LLVM and clang automatically. Unlike other platforms / build systems, it will use the following directory structure.
lldb | `-- llvm | +-- tools | `-- clangSo updating your checkout will consist of updating lldb, llvm, and clang in these locations.
Refer to the Build Instructions for more detailed instructions on how to build for a particular platform / build system combination.