LibDebug: Handle the "set ISA" standard opcode

I don't know what to do with this information, but let's at least skip
over the opcode instead of asserting.
This commit is contained in:
Andreas Kling 2020-11-08 01:07:08 +01:00
commit 957e7d10d4
Notes: sideshowbarker 2024-07-19 01:31:18 +09:00

View file

@ -212,7 +212,14 @@ void LineProgram::handle_standard_opcode(u8 opcode)
m_address += address_increment;
break;
}
case StandardOpcodes::SetIsa: {
size_t isa;
m_stream.read_LEB128_unsigned(isa);
dbgln("SetIsa: {}", isa);
break;
}
default:
dbgln("Unhandled LineProgram opcode {}", opcode);
ASSERT_NOT_REACHED();
}
}