LLVM,metadata for namespaces

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.

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

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

Do you see debug information for functions in IR ? Do you see any debug information in IR ?