[LLVMdev] Debug info compileunit metadata strangeness..

Eric Christopher echristo at apple.com
Sun Mar 25 18:36:19 PDT 2012


On Mar 4, 2012, at 12:58 PM, Anders Waldenborg wrote:

> Documentation says "List of global variables", but it is built as a
> "One element list containing the list of global variables". Is there a
> reason it is built that way?
> 
> Looking at DIBuilder::createCompileUnit it does indeed build it with
> an extra indirection.

You're right. This is weird. I haven't seen a reason why it's that way.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120325/d2cc42d0/attachment.html>


More information about the llvm-dev mailing list