diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-18 07:27:30 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-18 07:27:30 +0000 |
commit | d4f92fd0d1f22af553db08416b476241e4372d9a (patch) | |
tree | ee0bf49481d28ada0873523be4fbace516fdefdf | |
parent | 139f7e50688ce120b275ae368f563d03d9c18184 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175426 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/IR/DIBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 2fe13c44c6..16632a1b97 100644 --- a/lib/IR/DIBuilder.cpp +++ b/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)); } |