Displaying 9 results from an estimated 9 matches for "getint64val".
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 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...:
dwarf::DW_TAG_structure_type,
dbgCompileUnit_,
type->typeDefn()->linkageName().c_str(),
genDIFile(type->typeDefn()),
getSourceLineNumber(type->typeDefn()->location()),
getSizeOfInBits(type->irType()),
getAlignOfInBits(type->irType()),
getInt64Val(0), 0,
DIType(),
dbgFactory_.GetOrCreateArray(members.data(), members.size()));
The 'getSizeOfInBits()' function and the others like it basically call
llvm::ConstantExpr::getSizeOf() and then multiple the result by 8. Looking
at the generated IR, I can see that the expressions...
2010 Nov 08
0
[LLVMdev] Next round of DWARF issues/questions
...; dbgCompileUnit_,
> type->typeDefn()->linkageName().c_str(),
> genDIFile(type->typeDefn()),
> getSourceLineNumber(type->typeDefn()->location()),
> getSizeOfInBits(type->irType()),
> getAlignOfInBits(type->irType()),
> getInt64Val(0), 0,
> DIType(),
> dbgFactory_.GetOrCreateArray(members.data(), members.size()));
>
> The 'getSizeOfInBits()' function and the others like it basically call llvm::ConstantExpr::getSizeOf() and then multiple the result by 8. Looking at the generated IR, I can see...
2010 Nov 09
2
[LLVMdev] Next round of DWARF issues/questions
...; dbgCompileUnit_,
> type->typeDefn()->linkageName().c_str(),
> genDIFile(type->typeDefn()),
> getSourceLineNumber(type->typeDefn()->location()),
> getSizeOfInBits(type->irType()),
> getAlignOfInBits(type->irType()),
> getInt64Val(0), 0,
> DIType(),
> dbgFactory_.GetOrCreateArray(members.data(), members.size()));
>
> The 'getSizeOfInBits()' function and the others like it basically call
> llvm::ConstantExpr::getSizeOf() and then multiple the result by 8. Looking
> at the generated IR, I...
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 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
...>> type->typeDefn()->linkageName().c_str(),
>> genDIFile(type->typeDefn()),
>> getSourceLineNumber(type->typeDefn()->location()),
>> getSizeOfInBits(type->irType()),
>> getAlignOfInBits(type->irType()),
>> getInt64Val(0), 0,
>> DIType(),
>> dbgFactory_.GetOrCreateArray(members.data(), members.size()));
>>
>> The 'getSizeOfInBits()' function and the others like it basically call llvm::ConstantExpr::getSizeOf() and then multiple the result by 8. Looking at the generate...
2010 Sep 05
2
[LLVMdev] More DIFactory questions - still stumped
..._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?
>
> And I'd still lik...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
...>> type->typeDefn()->linkageName().c_str(),
>> genDIFile(type->typeDefn()),
>> getSourceLineNumber(type->typeDefn()->location()),
>> getSizeOfInBits(type->irType()),
>> getAlignOfInBits(type->irType()),
>> getInt64Val(0), 0,
>> DIType(),
>> dbgFactory_.GetOrCreateArray(members.data(), members.size()));
>>
>> The 'getSizeOfInBits()' function and the others like it basically call
>> llvm::ConstantExpr::getSizeOf() and then multiple the result by 8. Looking
>>...
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
...->typeDefn()->linkageName().c_str(),
>>> genDIFile(type->typeDefn()),
>>> getSourceLineNumber(type->typeDefn()->location()),
>>> getSizeOfInBits(type->irType()),
>>> getAlignOfInBits(type->irType()),
>>> getInt64Val(0), 0,
>>> DIType(),
>>> dbgFactory_.GetOrCreateArray(members.data(), members.size()));
>>>
>>> The 'getSizeOfInBits()' function and the others like it basically call
>>> llvm::ConstantExpr::getSizeOf() and then multiple the result by...