[LLVMdev] LLVM,metadata for namespaces
dpatel at apple.com
Mon Sep 19 10:00:04 PDT 2011
On Sep 19, 2011, at 7:31 AM, Irina Lipov wrote:
> yes.I have in each namespace at least one function.And I call these functions later.
> What I tried to do is to take module scope iterate all namespaces defined in it and call createNameSpace for each of them.
> When debugging I see that the namespaces are generated ,but in IR file there is no debug information for namespaces
Do you see debug information for functions in IR ? Do you see any debug information in IR ?
> Also I tried to generate debug information for namespaces ,while treating lexical blocks...
> I think ,that in both cases generated DINameSpace, should be integrated with existing descriptor/s?
> Thank you in advance for the answer
> On Mon, Sep 19, 2011 at 5:08 PM, David Blaikie <dblaikie at gmail.com> wrote:
> just off the cuff, have you actually created and used any names in the namespace. I don't know for sure, but it wouldn't surprise me if the namespace doesn't exist independently of any uses.
> From: Irina Lipov
> Sent: 9/19/2011 3:16 AM
> To: llvmdev at cs.uiuc.edu
> Subject: [LLVMdev] LLVM,metadata for namespaces
> I am wring front end for compiler ,the project I am working on,is based on llvm.
> I have a problem with generating metadata for namespaces.
> I call createNameSpace (with correct arguments) and get DINameSpace .
> But in IR file no metadata for namespace is generated.
> Can you advice me please what is the problem?Have I integrate in some way the DINameSpace I got with module or context?
> Thank you,
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev