From: David Blaikie Date: Mon, 18 Feb 2013 07:27:30 +0000 (+0000) Subject: DIBuilder: Correct the null/0 type of trailing fields in struct debug info. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12bbf715fcdae11eea80c63e9753b61bc428c305;p=platform%2Fupstream%2Fllvm.git DIBuilder: Correct the null/0 type of trailing fields in struct debug info. Paired with an Clang commit so this may cause temporary build failures. llvm-svn: 175426 --- diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index 2fe13c4..16632a1 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -526,8 +526,8 @@ DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name, NULL, Elements, ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang), - ConstantInt::get(Type::getInt32Ty(VMContext), 0), - ConstantInt::get(Type::getInt32Ty(VMContext), 0), + NULL, + NULL, }; return DIType(MDNode::get(VMContext, Elts)); }