summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2016-09-29 21:47:15 +0000
committerJason Molenda <jmolenda@apple.com>2016-09-29 21:47:15 +0000
commitf9f7dec07acc84de46a358d270c609679f9e24b5 (patch)
treed8075c6bc7ee0243338769d664b91a2a743c17a3
parentbef95792cc2a7ecab1beaaf21d5e9aed88088c49 (diff)
downloadbcm5719-llvm-f9f7dec07acc84de46a358d270c609679f9e24b5.tar.gz
bcm5719-llvm-f9f7dec07acc84de46a358d270c609679f9e24b5.zip
Add a quick note about how to build lldb with debug info using
cmake/ninja on linux/bsd systems. llvm-svn: 282790
-rwxr-xr-xlldb/www/build.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/www/build.html b/lldb/www/build.html
index ea83abf3dc0..123badf40ac 100755
--- a/lldb/www/build.html
+++ b/lldb/www/build.html
@@ -287,10 +287,17 @@
ninja on your system. To build using ninja:
</p>
<code>
- &gt; cmake .. -G Ninja
+ &gt; cmake ../llvm -G Ninja
<br />&gt; ninja lldb
<br />&gt; ninja check-lldb
</code>
+ <p>
+ 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:
+ </p>
+ <code>
+ &gt; cmake ../llvm -G Ninja -DLLDB_EXPORT_ALL_SYMBOLS=1 -DCMAKE_BUILD_TYPE=Debug
+ </code>
<h3>Using CMake + Unix Makefiles</h3>
<p>If you do not have Ninja, you can still use CMake to generate Unix Makefiles that build LLDB:</p>
<code>
OpenPOWER on IntegriCloud