[LLVMdev] Extending AsmPrinterHandler
Eric Christopher
echristo at gmail.com
Wed May 13 14:54:50 PDT 2015
You could write the debug information you want into just a section in
memory and have your external/alternate/other process/thread/etc pick it up
on the other end? I don't see how the extra info you want to send is
important here, you'd just be extending the existing debug support. Or I'm
missing something at which point I'm not sure which additional questions to
ask :)
-eric
On Wed, May 13, 2015 at 2:45 PM Michelle McDaniel <michelm at microsoft.com>
wrote:
> I work on the LLILC team, and we are trying to send debug line info
> through to the CoreCLR EE without using an EventListener because we need to
> send extra info (more than just available in DebugLoc) like if it’s a call
> instruction, a call site, etc. We thought extending AsmPrinterHandler would
> be useful since it seems to have information about debug locations, label
> offsets, and instruction specific information.
>
>
>
>
>
>
>
> *From:* Eric Christopher [mailto:echristo at gmail.com]
> *Sent:* Wednesday, May 13, 2015 2:37 PM
> *To:* Michelle McDaniel; llvmdev at cs.uiuc.edu
> *Subject:* Re: [LLVMdev] Extending AsmPrinterHandler
>
>
>
> We generally don't extend the AsmPrinter... can you be more specific about
> what you're trying to do?
>
> -eric
>
>
>
> On Wed, May 13, 2015 at 2:34 PM Michelle McDaniel <michelm at microsoft.com>
> wrote:
>
> Hey everyone,
>
>
>
> I’m looking into extending AsmPrinterHandler out of tree, to communicate
> information back to the CoreCLR EE, but all of the headers are in the lib
> directory. Is there any way to extend it out of tree, or is that not
> supported? The reason I’d like to do this out of tree is because we want to
> include clr headers as well, and we don’t want to introduce that into llvm
> sources.
>
>
>
> Thanks,
>
> Michelle
>
> _______________________________________________
> 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/20150513/a6bf4b5d/attachment.html>
More information about the llvm-dev
mailing list