Skip to content
Snippets Groups Projects
Commit eda70a5c authored by Avi Kivity's avatar Avi Kivity
Browse files

elf: dump name of symbol which we failed to look up

parent b93f665d
No related branches found
No related tags found
No related merge requests found
...@@ -252,7 +252,10 @@ namespace elf { ...@@ -252,7 +252,10 @@ namespace elf {
if (!ret && binding == STB_WEAK) { if (!ret && binding == STB_WEAK) {
ret = sym; ret = sym;
} }
assert(ret); if (!ret) {
debug_console->writeln(fmt("failed looking up symbol %1%") % name);
abort();
}
return ret; return ret;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment