mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
DIExpression::createFragmentExpression - silence static analyzer DIExpression* null dereference warning with an assertion. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user