Displaying 3 results from an estimated 3 matches for "buildodrtype".
2016 Dec 07
4
[ThinLTO] Reducing imported debug metadata
...d DICompisiteType to type declarations, I am
having some issues. I prototyped this by doing it in the BitcodeReader. I
passed in a new flag indicating that we are parsing a module for function
importing. Then when parsing a METADATA_COMPOSITE_TYPE, if we are importing
a module I change the calls to buildODRType and GET_OR_DISTINCT to instead
create a type declaration:
- pass in flags Flags|DINode::FlagFwdDecl
- pass in nullptr for BaseType, Elements, VtableHolder, TemplateParams
- pass in 0 for OffsetInBits
Note that buildODRType will not mutate any existing DICompisiteType for
that identifier found i...
2016 Dec 07
2
[ThinLTO] Reducing imported debug metadata
...type declarations, I am
> having some issues. I prototyped this by doing it in the BitcodeReader. I
> passed in a new flag indicating that we are parsing a module for function
> importing. Then when parsing a METADATA_COMPOSITE_TYPE, if we are importing
> a module I change the calls to buildODRType and GET_OR_DISTINCT to instead
> create a type declaration:
> > - pass in flags Flags|DINode::FlagFwdDecl
> > - pass in nullptr for BaseType, Elements, VtableHolder, TemplateParams
> > - pass in 0 for OffsetInBits
> >
> > Note that buildODRType will not mutate an...
2016 Dec 07
4
[ThinLTO] Reducing imported debug metadata
...type declarations, I am
> having some issues. I prototyped this by doing it in the BitcodeReader. I
> passed in a new flag indicating that we are parsing a module for function
> importing. Then when parsing a METADATA_COMPOSITE_TYPE, if we are importing
> a module I change the calls to buildODRType and GET_OR_DISTINCT to instead
> create a type declaration:
> > - pass in flags Flags|DINode::FlagFwdDecl
> > - pass in nullptr for BaseType, Elements, VtableHolder, TemplateParams
> > - pass in 0 for OffsetInBits
> >
> > Note that buildODRType will not mutate an...