projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23848f8
)
Include all the fields so we can correctly emit DW_TAG_structure_type for C++ structs.
author
David Blaikie
<dblaikie@gmail.com>
Fri, 2 Nov 2012 23:33:23 +0000
(23:33 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Fri, 2 Nov 2012 23:33:23 +0000
(23:33 +0000)
llvm-svn: 167334
llvm/lib/VMCore/DIBuilder.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/VMCore/DIBuilder.cpp
b/llvm/lib/VMCore/DIBuilder.cpp
index
c331304
..
152b825
100644
(file)
--- a/
llvm/lib/VMCore/DIBuilder.cpp
+++ b/
llvm/lib/VMCore/DIBuilder.cpp
@@
-492,7
+492,8
@@
DIType DIBuilder::createStructType(DIDescriptor Context, StringRef Name,
NULL,
Elements,
ConstantInt::get(Type::getInt32Ty(VMContext), RunTimeLang),
- Constant::getNullValue(Type::getInt32Ty(VMContext))
+ ConstantInt::get(Type::getInt32Ty(VMContext), 0),
+ ConstantInt::get(Type::getInt32Ty(VMContext), 0),
};
return DIType(MDNode::get(VMContext, Elts));
}