mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
Add description to assert
llvm-svn: 227291
This commit is contained in:
parent
fa1a3c7cf5
commit
e245228903
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user