summaryrefslogtreecommitdiffstats
path: root/include/llvm/DIBuilder.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-16 20:42:14 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-16 20:42:14 +0000
commit692062f18023979c0f8d5a155c14cf1f1616a2b0 (patch)
treebc6d241a8e3eec18f4b3c12caf1482b2038dd145 /include/llvm/DIBuilder.h
parent9bb6c81683393363ed1ff8c66397f2d944c0966b (diff)
downloadexternal_llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.zip
external_llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.tar.gz
external_llvm-692062f18023979c0f8d5a155c14cf1f1616a2b0.tar.bz2
DebugInfo: Allow the addition of other (such as static data) members to a record type after construction
Plus a type cleanup & minor fix to enumerate members of declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DIBuilder.h')
-rw-r--r--include/llvm/DIBuilder.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/DIBuilder.h b/include/llvm/DIBuilder.h
index a15d619..941ed04 100644
--- a/include/llvm/DIBuilder.h
+++ b/include/llvm/DIBuilder.h
@@ -419,9 +419,11 @@ namespace llvm {
DIType createObjectPointerType(DIType Ty);
/// createForwardDecl - Create a temporary forward-declared type.
- DIType createForwardDecl(unsigned Tag, StringRef Name, DIDescriptor Scope,
- DIFile F, unsigned Line, unsigned RuntimeLang = 0,
- uint64_t SizeInBits = 0, uint64_t AlignInBits = 0);
+ DICompositeType createForwardDecl(unsigned Tag, StringRef Name,
+ DIDescriptor Scope, DIFile F,
+ unsigned Line, unsigned RuntimeLang = 0,
+ uint64_t SizeInBits = 0,
+ uint64_t AlignInBits = 0);
/// retainType - Retain DIType in a module even if it is not referenced
/// through debug info anchors.