
#12397: Support for PDB debug information generation -------------------------------------+------------------------------------- Reporter: varosi | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 (Debugging) | Resolution: | Keywords: Operating System: Windows | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Phyx-): I'm very keen on this myself, but last time I looked at this the repository wasn't in a very usable state. The repository basically contains the structures definition and it seems they added the streams implementation now to. But the bulk of the code is in Mscorpdb.dll which is proprietary and we can't redistribute it. So the situation is kind of hard until someone implements an open source variant of that (Since I think GHC has too many Linux/Mac only developers to foster such a project for the Windows world, and maintain it). Currently I believe libDWARF is used for DWARF support. I'm hoping for Microsoft to either release the code for Mscorpdb.dll or change the licensing.. Alternatively, we could use tools that convert from DWARF to PDB as a post-build step, such as https://github.com/rainers/cv2pdb . But yeah Ideally we would be able to generate it ourselves. I have been thinking about trying to use the code for that tool and internally do a DWARF to PDB conversion. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12397#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler