C++ API on macOS 10.13.5 for LLDB

I am trying to build a command line tool that uses LLDB and I am looking for the API headers and library. Is this distributed with Xcode and tools? If so where would I find the lib and headers to link?

LLDB.framework is part of the Xcode installation, but Xcode does not ship with the API headers. That being said, we maintain binary compatibility for the SB API's in lldb, so you should be able to build a local copy of LLDB.framework and build against that, and then run your tool against the installed LLDB.framework.

LLDB.framework shipped with Xcode or Command Line Tools all works well with SB interface. Just copy SB headers into your project and linke against to Xcode's LLDB.framework.

Here's an example how to do that: https://github.com/eonil/LLDBWrapper