I can debug llvm source code by lldb on iMac

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 Dropbox - File Deleted

Best regards

Jonathan











|

Sorry I can’t help you, but I’d like to say that I really appreciate the work that you are doing in documenting the process of how to write a backend. This is something that is greatly needed. Btw, I had never heard of the tricore_llvm.pdf document that you reference; great find.

Please keep us up to date with the progress of your documentation! Please ping the mailing list with your progress, and maybe we can someday merge that documentation (in some form) back into the mainline tree.

I hope that someone knowledgeable about the problem you are having can help you!

Thanks for your hard work,

– Sean Silva

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.

-eric

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