summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibELF
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-18 08:59:25 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-19 12:00:40 +0200
commit0cca23def5e4770e3b59798355172bb52fb981cf (patch)
tree7ce2f1ec296cdadbc1b0d6ef8ff64dc2d1516aef /Userland/Libraries/LibELF
parent1dab5ca5fd9f2d730f773d628f88dad1be70a637 (diff)
downloadserenity-0cca23def5e4770e3b59798355172bb52fb981cf.zip
LibELF: Improve error message for missing symbols
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r--Userland/Libraries/LibELF/DynamicObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibELF/DynamicObject.cpp b/Userland/Libraries/LibELF/DynamicObject.cpp
index 067069ced8..4dc50ab0e4 100644
--- a/Userland/Libraries/LibELF/DynamicObject.cpp
+++ b/Userland/Libraries/LibELF/DynamicObject.cpp
@@ -475,7 +475,7 @@ VirtualAddress DynamicObject::patch_plt_entry(u32 relocation_offset)
auto result = DynamicLoader::lookup_symbol(symbol);
if (!result.has_value()) {
- dbgln("did not find symbol: {}", symbol.name());
+ dbgln("did not find symbol while doing relocations for library {}: {}", m_filename, symbol.name());
VERIFY_NOT_REACHED();
}