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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121104/abc2487d/attachment.html>
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 On Sun, Nov 4, 2012 at 7: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/20121104/3a6c0008/attachment.html>
Eric Christopher
2012-Nov-05 16:11 UTC
[LLVMdev] I can debug llvm source code by lldb on iMac
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 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/8d7fa0d2/attachment.html>
Douglas Gregor
2012-Nov-05 17:56 UTC
[LLVMdev] I can debug llvm source code by lldb on iMac
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>