[LLVMdev] construct a DIType from Type

David Blaikie dblaikie at gmail.com
Sun Dec 7 09:22:21 PST 2014


On Sun, Dec 7, 2014 at 9:14 AM, Hui Zhang <wayne.huizhang at gmail.com> wrote:

> Hello,
>
> Is there anyone that has some experience of creating a llvm::DIType from a
> llvm::Type ?
>

You might want to check the recently deleted debug-ir pass which added
debug info based on LLVM IR (otherwise you wouldn't usually try to build an
llvm::DIType from an llvm::Type - you'd want to build it from your high
level language information).


> I thought it should be but haven't found a proper method to do that after
> checking DIBuilder class
>
> thanks
>
> --
> Best regards
>
>
> Hui Zhang
>
> _______________________________________________
> 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/20141207/3095e9e8/attachment.html>


More information about the llvm-dev mailing list