Gracefully handle non-1 stack sizes in printCompactDWARFExpr rather than
assert. Add support for DW_OP_nop and test the zero-sized stack case.
This is intended to be nearly NFC.
Differential D147269
[DebugInfo] printCompactDWARFExpr: don't assert on stack size scott.linder on Mar 30 2023, 1:51 PM. Authored by
Details
Gracefully handle non-1 stack sizes in printCompactDWARFExpr rather than This is intended to be nearly NFC.
Diff Detail
Event TimelineComment Actions Not the best error handling (like might be better returning Error from this function?) but probably OK. Comment Actions I agree, but to avoid shaving too many yaks I adopted the existing mechanism for error handling in the function, which is to write an error message to OS and return false. |