[LLVMdev] Debugging Information for Windows
daniel at zuster.org
Thu Jul 16 20:08:44 PDT 2009
On Wed, Jul 15, 2009 at 9:02 AM, Jon Sargeant<aliphany at gmail.com> wrote:
>>> Can LLVM generate debugging information for a Windows target?
>> Yes. LLVM generates DWARF debugging information. I haven't checked its
>> status recently, but it worked some time ago (on mingw32). Note that,
>> however, you cannot mix stabs debug format and DWARF (I saw, e.g.
>> pretty weird results from gdb in that case), that means you will need
>> either use new mingw32 gcc (4.2+) or rebuild runtime, etc to use
> Ok, is there a tutorial on how to emit assembly and machine code? I'm
> using the code in llc as a starting point, but I'm running into lots
> of problems.
I don't think we have any tutorial on this, although it would be an
obvious extension of the Kaleidoscope tutorial.
You may find clang's Backend.cpp useful:
It is relatively self contained.
> Best Regards,
>> With best regards, Anton Korobeynikov
>> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev