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 and build as described at the above URL. The same repository also contains LLDB.
Git browser: https://github.com/llvm/llvm-project/tree/master/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.