[Lldb-commits] [lldb] [llvm] [mlir] [DebugInfo] Add symbolic branches to DIExpression (PR #210850)
Eric Christopher via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 21 15:46:15 PDT 2026
================
@@ -7181,6 +7182,19 @@ void Verifier::visit(DbgVariableRecord &DVR) {
F);
visitMDNode(*DVR.getExpression(), AreDebugLocsAllowed::No);
+ // A DIArgList can have a valid branch expression which doesn't use
+ // DW_OP_LLVM_arg, so check the record as well.
+ if (DVR.hasArgList() && DVR.getExpression()->isValid()) {
+ bool HasControlFlow = llvm::any_of(
+ DVR.getExpression()->expr_ops(), [](DIExpression::ExprOperand Op) {
----------------
echristo wrote:
Let me see what that patch would look like :)
https://github.com/llvm/llvm-project/pull/210850
More information about the lldb-commits
mailing list