Skip to content
Commit 8f973d5c authored by Jay Foad's avatar Jay Foad
Browse files

[DebugInfo] Fix crash when printing malformed DBG machine instructions

MachineVerifier does not check that DBG_VALUE, DBG_VALUE_LIST and
DBG_INSTR_REF have the expected number of operands, so printing them
(e.g. with -print-after-all) should not crash.

Differential Revision: https://reviews.llvm.org/D156226
parent 620e2bb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment