1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:57:43 +00:00

LibELF: Temporarily disable name demangling

Demangling is currently not supported with shared libraries, but we will fix this soon :)
This commit is contained in:
Itamar 2020-11-11 22:03:51 +02:00 committed by Andreas Kling
parent 349c6780ce
commit 5a2e68d699

View file

@ -263,8 +263,12 @@ String Loader::symbolicate(u32 address, u32* out_offset) const
auto demangled_name = demangle(symbol.name);
#else
auto& demangled_name = symbol.demangled_name;
if (demangled_name.is_null())
demangled_name = demangle(symbol.name);
if (demangled_name.is_null()) {
// FIXME: Temporarily disabled demangling since it is currently not supported with shared libraries
demangled_name = symbol.name;
// demangled_name = demangle(symbol.name);
}
#endif
if (out_offset) {