Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!news.misty.com!news.iecc.com!nerds-end From: Eric Christopher Newsgroups: comp.compilers Subject: Re: A small LLVM tutorial: debugging information Date: Tue, 29 May 2012 17:59:50 -0700 Organization: Compilers Central Lines: 14 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <12-05-029@comp.compilers> References: <12-05-023@comp.compilers> NNTP-Posting-Host: news.iecc.com X-Trace: leila.iecc.com 1338403930 7558 64.57.183.58 (30 May 2012 18:52:10 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: Wed, 30 May 2012 18:52:10 +0000 (UTC) Keywords: LLVM Posted-Date: 30 May 2012 14:52:10 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com X-Received-Bytes: 1466 Xref: csiph.com comp.compilers:658 On Fri, May 25, 2012 at 10:06 AM, vincent_belliard wrote: > Hello, > > I updated my LLVM tutorial. I added few things about debugging generation. You can find the whole tutorial at: > > http://entity-language.googlecode.com/files/llvm_tutorial.pdf One thing your tutorial doesn't mention is that it's much easier to produce a frontend if you use the "builder" classes (or bindings to them). IRBuilder and DIBuilder (LLVM IR and debug info metadata respectively) are much easier to generate when you use these interfaces. -eric