mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 10:22:05 -05:00
LibX86: Stub out Disassembler::next() for x86_64
LibX86 doesn't currently support x86_64 opcodes which causes Profiler to crash when clicking on any symbol in the call graph.
This commit is contained in:
parent
3bd14941c7
commit
594903742b
1 changed files with 5 additions and 0 deletions
|
@ -22,7 +22,12 @@ public:
|
|||
{
|
||||
if (!m_stream.can_read())
|
||||
return {};
|
||||
#if ARCH(I386)
|
||||
return Instruction::from_stream(m_stream, true, true);
|
||||
#else
|
||||
dbgln("FIXME: Implement disassembly support for x86_64");
|
||||
return {};
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Reference in a new issue