mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibELF: Fix build with ELF_IMAGE_DEBUG
This commit is contained in:
parent
1bc859fb68
commit
cb2db3710b
Notes:
sideshowbarker
2024-07-18 22:04:43 +09:00
Author: https://github.com/awesomekling
Commit: cb2db3710b
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ void Image::dump() const
|
|||
});
|
||||
|
||||
for (unsigned i = 0; i < header().e_shnum; ++i) {
|
||||
auto& section = this->section(i);
|
||||
const auto& section = this->section(i);
|
||||
dbgln(" Section {}: {{", i);
|
||||
dbgln(" name: {}", section.name());
|
||||
dbgln(" type: {:x}", section.type());
|
||||
|
@ -132,7 +132,7 @@ void Image::dump() const
|
|||
|
||||
dbgln("Symbol count: {} (table is {})", symbol_count(), m_symbol_table_section_index);
|
||||
for (unsigned i = 1; i < symbol_count(); ++i) {
|
||||
auto& sym = symbol(i);
|
||||
const auto& sym = symbol(i);
|
||||
dbgln("Symbol @{}:", i);
|
||||
dbgln(" Name: {}", sym.name());
|
||||
dbgln(" In section: {}", section_index_to_string(sym.section_index()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue