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:
Gunnar Beutner 2021-08-02 09:11:42 +02:00 committed by Andreas Kling
parent 3bd14941c7
commit 594903742b
Notes: sideshowbarker 2024-07-18 07:34:44 +09:00

View file

@ -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: