mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
DIExpression::createFragmentExpression - silence static analyzer DIExpression* null dereference warning with an assertion. NFCI.
llvm-svn: 373326
This commit is contained in:
parent
54d6405d6c
commit
5291c85727
@ -1161,6 +1161,7 @@ Optional<DIExpression *> DIExpression::createFragmentExpression(
|
||||
Op.appendToVector(Ops);
|
||||
}
|
||||
}
|
||||
assert(Expr && "Unknown DIExpression");
|
||||
Ops.push_back(dwarf::DW_OP_LLVM_fragment);
|
||||
Ops.push_back(OffsetInBits);
|
||||
Ops.push_back(SizeInBits);
|
||||
|
Loading…
Reference in New Issue
Block a user