From 957e7d10d4a1bdcdf1cfbd763da0dfb4a7d81766 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 8 Nov 2020 01:07:08 +0100 Subject: [PATCH] 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. --- Libraries/LibDebug/Dwarf/LineProgram.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Libraries/LibDebug/Dwarf/LineProgram.cpp b/Libraries/LibDebug/Dwarf/LineProgram.cpp index b2f23700b0..5384e45449 100644 --- a/Libraries/LibDebug/Dwarf/LineProgram.cpp +++ b/Libraries/LibDebug/Dwarf/LineProgram.cpp @@ -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(); } }