From f9f7dec07acc84de46a358d270c609679f9e24b5 Mon Sep 17 00:00:00 2001
From: Jason Molenda
- > cmake .. -G Ninja
+ > cmake ../llvm -G Ninja
> ninja lldb
> ninja check-lldb
+ + If you want to debug the lldb that you're building -- that is, build it with debug info enabled -- pass + two additional arguments to cmake before running ninja: +
+
+ > cmake ../llvm -G Ninja -DLLDB_EXPORT_ALL_SYMBOLS=1 -DCMAKE_BUILD_TYPE=Debug
+
If you do not have Ninja, you can still use CMake to generate Unix Makefiles that build LLDB: