Displaying 2 results from an estimated 2 matches for "m_dibuilder".
Did you mean:
dibuilder
2016 Feb 24
0
How to resolve debug info forward types
...i-stage process.
First, there is a difference between a permanent forward declaration (i.e.
the actual definition is in a different file) and a temporary forward
declaration (i.e. it will appear later in the same file).
To create a permanent forward declaration:
DICompositeType *result = m_DIBuilder->createForwardDecl(
dwarf::DW_TAG_structure_type,
name,
m_DICompileUnit,
file,
loc.m_Line);
To create a temporary forward declaration:
DICompositeType *result =
m_DIBuilder->createReplaceableCompositeType(
dwarf...
2016 Feb 24
3
How to resolve debug info forward types
Before metadata was separated from values, I could create a debug info forward
declaration and eventually resolve it using LLVMReplaceAllUsesWith in core.h.
Now, I can't figure out how to resolve it. I can find no function that seems
to do this. My one wild guess that giving the forward decl and the resolving
decl the same UniqueId might do it is not working.
I am currently using 3.6.1, but