diff options
-rw-r--r-- | Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp b/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp index 3cf18fe86b..ff3e28a752 100644 --- a/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp +++ b/Userland/Libraries/LibDebug/Dwarf/LineProgram.cpp @@ -224,6 +224,15 @@ void LineProgram::handle_standard_opcode(u8 opcode) dbgln("SetIsa: {}", isa); break; } + case StandardOpcodes::FixAdvancePc: { + u16 delta = 0; + m_stream >> delta; +#if DWARF_DEBUG + dbgln("FixAdvancePC by: {} to: {:p}", delta, m_address + delta); +#endif + m_address += delta; + break; + } default: dbgln("Unhandled LineProgram opcode {}", opcode); VERIFY_NOT_REACHED(); |