mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Profiler: Print addresses in debug log in hex.
This commit is contained in:
parent
35bb8ab4db
commit
cc94495a29
Notes:
sideshowbarker
2024-07-18 18:43:46 +09:00
Author: https://github.com/bgianfo
Commit: cc94495a29
Pull-request: https://github.com/SerenityOS/serenity/pull/6844
1 changed files with 2 additions and 2 deletions
|
@ -50,12 +50,12 @@ DisassemblyModel::DisassemblyModel(Profile& profile, ProfileNode& node)
|
|||
} else {
|
||||
auto process = node.process(profile, node.timestamp());
|
||||
if (!process) {
|
||||
dbgln("no process for address {}", node.address());
|
||||
dbgln("no process for address {:p}", node.address());
|
||||
return;
|
||||
}
|
||||
auto library_data = process->library_metadata.library_containing(node.address());
|
||||
if (!library_data) {
|
||||
dbgln("no library data for address {}", node.address());
|
||||
dbgln("no library data for address {:p}", node.address());
|
||||
return;
|
||||
}
|
||||
elf = &library_data->object->elf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue