mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-27 19:59:03 +00: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
Notes:
sideshowbarker
2024-07-18 07:34:44 +09:00
Author: https://github.com/gunnarbeutner
Commit: 594903742b
Pull-request: https://github.com/SerenityOS/serenity/pull/9171
1 changed files with 5 additions and 0 deletions
|
@ -22,7 +22,12 @@ public:
|
||||||
{
|
{
|
||||||
if (!m_stream.can_read())
|
if (!m_stream.can_read())
|
||||||
return {};
|
return {};
|
||||||
|
#if ARCH(I386)
|
||||||
return Instruction::from_stream(m_stream, true, true);
|
return Instruction::from_stream(m_stream, true, true);
|
||||||
|
#else
|
||||||
|
dbgln("FIXME: Implement disassembly support for x86_64");
|
||||||
|
return {};
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue