mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 21:42:19 +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:
parent
349c6780ce
commit
5a2e68d699
Notes:
sideshowbarker
2024-07-19 00:50:55 +09:00
Author: https://github.com/itamar8910
Commit: 5a2e68d699
Pull-request: https://github.com/SerenityOS/serenity/pull/3738
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
1 changed files with 6 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue