diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-25 01:07:18 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-25 01:07:18 +0000 |
commit | 6172f0298391e00cb669cc246e70ae2531f2cdec (patch) | |
tree | 9634a034a31bbf50ffdad13b1200fcbff582f7b6 /include/llvm/DIBuilder.h | |
parent | 29cb2591f9f7ec948e7b0e719b1db6cef99010d0 (diff) | |
download | llvm-6172f0298391e00cb669cc246e70ae2531f2cdec.tar.gz llvm-6172f0298391e00cb669cc246e70ae2531f2cdec.tar.bz2 llvm-6172f0298391e00cb669cc246e70ae2531f2cdec.tar.xz |
DIBuilder: support structs with vtable pointers in the same way as classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DIBuilder.h')
-rw-r--r-- | include/llvm/DIBuilder.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h index 5efbb9ef5b..d59847558a 100644 --- a/include/llvm/DIBuilder.h +++ b/include/llvm/DIBuilder.h @@ -282,10 +282,12 @@ namespace llvm { /// @param Flags Flags to encode member attribute, e.g. private /// @param Elements Struct elements. /// @param RunTimeLang Optional parameter, Objective-C runtime version. - DIType createStructType(DIDescriptor Scope, StringRef Name, DIFile File, - unsigned LineNumber, uint64_t SizeInBits, - uint64_t AlignInBits, unsigned Flags, - DIArray Elements, unsigned RunTimeLang = 0); + DICompositeType createStructType(DIDescriptor Scope, StringRef Name, + DIFile File, unsigned LineNumber, + uint64_t SizeInBits, uint64_t AlignInBits, + unsigned Flags, DIType DerivedFrom, + DIArray Elements, unsigned RunTimeLang = 0, + MDNode *VTableHolder = 0); /// createUnionType - Create debugging information entry for an union. /// @param Scope Scope in which this union is defined. |