mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +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: https://github.com/SerenityOS/serenity/commit/594903742be 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())
|
||||
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…
Reference in a new issue