[LLVMdev] [RFC] Separating Metadata from the Value hierarchy

Duncan P. N. Exon Smith dexonsmith at apple.com
Mon Nov 10 12:58:08 PST 2014


> On 2014-Nov-10, at 12:28, Eric Christopher <echristo at gmail.com> wrote:
> 
> The class hierarchy I envision looks something like this:
> 
>     Metadata
>       MDNode
>         TempMDNode      // MDNodeFwdRef?
>         UniquableMDNode // GenericMDNode?
>         DINode          // Is this layer useful?
>           DILocation
>           DIScope
>             DIType
>               DIBasicType
>               DICompositeType
>               ...
>             DISubprogram
>             ...
>           DICompileUnit
> 
> FWIW technically a compile unit is a scope so would probably need to be under that. Otherwise I'm missing a change rationale (I haven't read the full patch yet, I apologize if it's clear from the patch).

My mistake, just thinking out loud.  (None of this debug info stuff is
in the patch, it'll just come out naturally when I get back to the
debug info proposals.)



More information about the llvm-dev mailing list