search for: createderivedtype

Displaying 8 results from an estimated 8 matches for "createderivedtype".

2009 Oct 07
2
[LLVMdev] DebugFactory
...This does not work. I'm getting llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp: In member function ‘llvm::DIType clang::CodeGen::CGDebugInfo::CreateQualifiedType(clang::QualType, llvm::DICompileUnit)’: /Users/yash/clean/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:225: error: call of overloaded ‘CreateDerivedType(unsigned int&, llvm::DICompileUnit&, const char [1], llvm::DICompileUnit, int, int, int, int, int, llvm::DIType&)’ is ambiguous llvm/include/llvm/Analysis/DebugInfo.h:530: note: candidates are: llvm::DIDerivedType llvm::DIFactory::CreateDerivedType(unsigned int, llvm::DIDescriptor, llvm...
2009 Oct 07
0
[LLVMdev] DebugFactory
...g > > llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp: In member function > ‘llvm::DIType > clang::CodeGen::CGDebugInfo::CreateQualifiedType(clang::QualType, > llvm::DICompileUnit)’: > /Users/yash/clean/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:225: > error: call of overloaded ‘CreateDerivedType(unsigned int&, > llvm::DICompileUnit&, const char [1], llvm::DICompileUnit, int, int, > int, int, int, llvm::DIType&)’ is ambiguous > llvm/include/llvm/Analysis/DebugInfo.h:530: note: candidates are: > llvm::DIDerivedType llvm::DIFactory::CreateDerivedType(unsigned int, >...
2009 Oct 10
1
[LLVMdev] DebugFactory
...ls/clang/lib/CodeGen/CGDebugInfo.cpp: In member function >> ‘llvm::DIType >> clang::CodeGen::CGDebugInfo::CreateQualifiedType(clang::QualType, >> llvm::DICompileUnit)’: >> /Users/yash/clean/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:225: >> error: call of overloaded ‘CreateDerivedType(unsigned int&, >> llvm::DICompileUnit&, const char [1], llvm::DICompileUnit, int, int, >> int, int, int, llvm::DIType&)’ is ambiguous >> llvm/include/llvm/Analysis/DebugInfo.h:530: note: candidates are: >> llvm::DIDerivedType llvm::DIFactory::CreateDerivedType(un...
2009 Oct 02
0
[LLVMdev] DebugFactory
Here is a patch that does just that. On Wed, Sep 23, 2009 at 3:38 PM, Devang Patel <devang.patel at gmail.com>wrote: > On Wed, Sep 23, 2009 at 2:27 PM, Talin <viridia at gmail.com> wrote: > > On Wed, Sep 23, 2009 at 1:51 PM, Dan Gohman <gohman at apple.com> wrote: > >> > >> On Sep 22, 2009, at 4:49 PM, Talin wrote: > >>> > >>>
2011 Feb 24
4
[LLVMdev] DIFactory interface is going away
...ucts to encode debugging information. We are replacing this interface with new simple interface, DIBuilder. Here is one example that demonstrates differences between two interfaces. To create debug information entries to encode volatile type one would use following call in a language front end, CreateDerivedType(DW_TAG_volatile_type, Context, StringRef(), File, 0 /*line no*/, type_size_in_bits, type_align_in_bits, 0 /* offset */, 0 /* flags */, OriginalType); using DIFactory interface. Now, DIBuilder allows you to do the same using following call. cr...
2009 Sep 23
2
[LLVMdev] DebugFactory
On Wed, Sep 23, 2009 at 2:27 PM, Talin <viridia at gmail.com> wrote: > On Wed, Sep 23, 2009 at 1:51 PM, Dan Gohman <gohman at apple.com> wrote: >> >> On Sep 22, 2009, at 4:49 PM, Talin wrote: >>> >>> // Calculate the size of the specified LLVM type. >>> Constant * DebugInfoBuilder::getSize(const Type * type) { >>>    Constant * one =
2011 Feb 24
0
[LLVMdev] DIFactory interface is going away
...ing information. We are replacing this interface with new > simple interface, DIBuilder. > Here is one example that demonstrates differences between two interfaces. To > create debug information entries to encode volatile type one would use > following call in a language front end, > CreateDerivedType(DW_TAG_volatile_type, Context, StringRef(), File, >                           0 /*line no*/, type_size_in_bits, > type_align_in_bits, >                           0 /* offset */, 0 /* flags */, OriginalType); > using DIFactory interface. Now, DIBuilder allows you to do the same using &gt...
2011 Feb 25
2
[LLVMdev] DIFactory interface is going away
...are replacing this interface with new >> simple interface, DIBuilder. >> Here is one example that demonstrates differences between two interfaces. To >> create debug information entries to encode volatile type one would use >> following call in a language front end, >> CreateDerivedType(DW_TAG_volatile_type, Context, StringRef(), File, >> 0 /*line no*/, type_size_in_bits, >> type_align_in_bits, >> 0 /* offset */, 0 /* flags */, OriginalType); >> using DIFactory interface. Now, DIBuilder allows you to do...