From c656fda3aeba9fd8b09d98ed72e75b6c25a1ad49 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 2 Apr 2013 22:55:56 +0000 Subject: Support and test template arguments for unions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178586 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/DIBuilder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/IR') diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 7890b7f..9d6e840 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -568,7 +568,8 @@ DICompositeType DIBuilder::createUnionType(DIDescriptor Scope, StringRef Name, NULL, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), - Constant::getNullValue(Type::getInt32Ty(VMContext)) + Constant::getNullValue(Type::getInt32Ty(VMContext)), + NULL }; return DICompositeType(MDNode::get(VMContext, Elts)); } -- cgit v1.1