[LLVMdev] I can debug llvm source code by lldb on iMac

Douglas Gregor dgregor at apple.com
Mon Nov 5 09:56:00 PST 2012


On Nov 5, 2012, at 8:11 AM, Eric Christopher <echristo at gmail.com> wrote:

> You should be able to create an xcode project using cmake and then use that to build and debug llvm (as you've discovered how to create an xcode project). 
> 
> Doug may know more.

There are instructions for using CMake here:

  http://www.llvm.org/docs/CMake.html

and use the -G Xcode option to build an Xcode project.

	- Doug

> -eric
> 
> 
> On Sun, Nov 4, 2012 at 4:36 AM, gamma_chen <gamma_chen at yahoo.com.tw> wrote:
> Ten days ago, I asked "Can I debug llvm source code by iMac Xcode?". I still cannot do it now, but I can debug llvm source code by iMac lldb. I write it down on section  "1.4  Create LLVM.xcodeproj of supporting cpu0 by terminal cmake command" of GammaLLVMBackendBook.pdf in https://www.dropbox.com/sh/2pkh1fewlq2zag9/r9n4gnqPm7  
> 
> Best regards
> 
> Jonathan
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121105/dc721ab4/attachment.html>


More information about the llvm-dev mailing list