[llvm-commits] [PATCH/RFC] Add support for CodeView debug information

João Matos ripzonetriton at gmail.com
Mon Dec 3 05:17:03 PST 2012


Could you put the patch up at Phabricator (
http://llvm-reviews.chandlerc.com/)?

On Mon, Dec 3, 2012 at 7:15 AM, Kai <kai at redstar.de> wrote:

> Hi!
>
> I started to work on support for emitting CodeView debug information.
>
> In order to support other debug information I extracted the used interface
> of the DwarfDebug class into an abstract class. After that I changed the
> AsmPrinter class to use the new interface. (Patch 0001)
>
> The next step is to enumerate all debug information types. The boolean
> variable SupportsDebugInformation is replaced by DebugInformationType which
> is based on an enumeration. (Patch 0002)
>
> During development I noticed that there is no possibility to get the
> return type from DISubprogramm if the return type is modelled as DIType.
> Because I need this functionality I added the support. (Patch 0003)
> (BTW: Does DISubprogram.Verify check the right thing in case the return
> type is modelled as DIType?)
>
> Finally I created the classes needed for CodeView debug symbol output.
> This is really work-in-progress and is not ready yet. Nevertheless it can
> output type information for simply signatures like int add(int,int). It is
> a proof of concept that the interface is working. (Patch 0004)
>
> I like to get review and comments on patches 0001-0003. Is my approach
> ok? If yes then I like to get these patches committed so that further
> updates to debug related classes can consider the new interface.
>
> Thank you very much!
>
> Regards
> Kai
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>


-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121203/ae4ffe85/attachment.html>


More information about the llvm-commits mailing list