search for: getsizeofinbit

Displaying 10 results from an estimated 10 matches for "getsizeofinbit".

Did you mean: getsizeofinbits
2010 Nov 07
3
[LLVMdev] Next round of DWARF issues/questions
...ompositeTypeEx( type->typeClass() == Type::Class ? dwarf::DW_TAG_class_type : 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 mult...
2010 Nov 08
0
[LLVMdev] Next round of DWARF issues/questions
...e->typeClass() == Type::Class ? dwarf::DW_TAG_class_type : 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::Constant...
2010 Nov 09
2
[LLVMdev] Next round of DWARF issues/questions
...;typeClass() == Type::Class ? dwarf::DW_TAG_class_type : > 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::Const...
2010 Nov 09
0
[LLVMdev] Next round of DWARF issues/questions
...Type::Class ? dwarf::DW_TAG_class_type : 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 basic...
2010 Nov 26
3
[LLVMdev] Next round of DWARF issues/questions
...ass ? dwarf::DW_TAG_class_type : >> 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 basical...
2010 Nov 26
0
[LLVMdev] Next round of DWARF issues/questions
...s_type : >>> 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 th...
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
2009 Oct 21
1
[LLVMdev] A few more questions about DIFactory and source-level debugging.
...return a size in bytes (which makse sense, since it behaves like C sizeof). More confusing, however, the comments for getSizeOf() doesn't say what units its result is in - I automatically assumed that getSizeOf and DIFactory were compatible. Probably the simplest thing would be to add a "getSizeOfInBits" method (and the same for align and offset) which could be used directly with DIFactory. Note: All of the above results were produced with the current 2.6 branch head. -- Talin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermai...
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
...; > ptype = dbgFactory_.CreateDerivedTypeEx( > 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...