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:
fa1a3c7
)
Add description to assert
author
David Blaikie
<dblaikie@gmail.com>
Wed, 28 Jan 2015 02:43:15 +0000
(
02:43
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Wed, 28 Jan 2015 02:43:15 +0000
(
02:43
+0000)
llvm-svn: 227291
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index
f636142
..
07959a5
100644
(file)
--- a/
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@
-627,7
+627,7
@@
static uint64_t getBaseTypeSize(DwarfDebug *DD, DIDerivedType Ty) {
DIType BaseType = DD->resolve(Ty.getTypeDerivedFrom());
- assert(BaseType.isValid());
+ assert(BaseType.isValid()
&& "Unexpected invalid base type"
);
// If this is a derived type, go ahead and get the base type, unless it's a
// reference then it's just the size of the field. Pointer types have no need