================
@@ -262,8 +285,10 @@ static bool printCompactDWARFExpr(
break;
}
case dwarf::DW_OP_LLVM_user: {
- assert(Op.getSubCode() == dwarf::DW_OP_LLVM_nop);
- break;
+ std::optional<unsigned> SubOpcode = Op.getSubCode();
+ if (SubOpcode == dwarf::DW_OP_LLVM_nop)
+ break;
----------------
OCHyams wrote:
Why don't we print the user op subcode here? I may be confused about what this
function is doing
https://github.com/llvm/llvm-project/pull/153883
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits