[cfe-dev] compile Clang with debug info

xiaohui chen via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 5 10:45:12 PDT 2015


Hi,

I compile clang from source following the steps on the website like:


   1. cd build/
   2. cmake -G “Unix Makefiles” ..
   3. make


Now I want to get the binary code with debugging information, so what
should I do?

I tried "cmake -G "Unix Makefiles"  --enable-debug-symbols ..", but it does
not work.

Best
xiaohui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151005/89c3cdc6/attachment.html>


More information about the cfe-dev mailing list