Andreas Kling
0f393148da
Kernel: Separate out the symbol offsets in profile output
...
Instead of saying "main +39" and "main +57" etc, we now have a separate
field in /proc/profile for the offset-into-the-symbol.
2019-12-12 21:59:47 +01:00
Andreas Kling
f75a6b9daa
Kernel: Demangle kernel C++ symbols correctly again
...
I broke this while implementing module linking. Also move the actual
demangling work to AK, in AK::demangle(const char*)
2019-11-29 14:59:15 +01:00
Andreas Kling
0adbacf59e
Kernel: Demangle userspace ELF symbols in backtraces
...
Turns out we can use abi::__cxa_demangle() for this, and all we need to
provide is sprintf(), realloc() and free(), so this patch exposes them.
We now have fully demangled C++ backtraces :^)
2019-11-27 14:06:24 +01:00
Andreas Kling
49635e62fa
LibELF: Move AK/ELF/ into Libraries/LibELF/
...
Let's arrange things like this instead. It didn't feel right for all of
the ELF handling code to live in AK.
2019-11-06 13:42:38 +01:00