Displaying 3 results from an estimated 3 matches for "irparametertype".
2010 Aug 31
0
[LLVMdev] More DIFactory questions
On Aug 31, 2010, at 9:03 AM, Talin wrote:
> 4) What is the meaning of the "inlinedAt" argument for DebugLoc::get()? Does it mean the location where the inlined code was defined, or the location where it was expanded?
the location where it was expanded
-
Devang
2010 Aug 31
5
[LLVMdev] More DIFactory questions
Here are some issues that I am unclear about. What would be great is if the
answers could be incorporated into the comments and documentation for
DIFactory and DebugInfo.h:
1) What types of DIScope are valid arguments for DebugLoc::get()? The method
takes an MDNode* argument, so looking at the function signature is no help.
For example, DIFile is a subtype of DIScope, however looking
at
2010 Sep 05
2
[LLVMdev] More DIFactory questions - still stumped
...ypeEx(
> dwarf::DW_TAG_formal_parameter,
> dbgCompileUnit_,
> param->name() != NULL ? param->name() : "",
> genDIFile(param),
> getSourceLineNumber(param->location()),
> getSizeOfInBits(param->internalType()->irParameterType()),
> getInt64Val(0),
> getInt64Val(0), 0,
> ptype);
> DASSERT(ptype.Verify());
> args.push_back(ptype);
> }
>
>
> However, if I go by what's in clang, it seems that the
> DW_TAG_formal_parameter is unnecessary. Is this correct?
&g...