Closed ArnaudValensi closed 1 month ago
I don't know how to implement this on Windows. Happy to look at a patch, though.
Is symbol resolution with ASLR already implemented for some platforms?
Yes, on ELF. It's the base_address
values passed to backtrace_dwarf_add
.
Windows ASLR support has been committed, so this should work now.
When compiling with clang++ with mingw64, I don't have the right backtrace:
However, it works with g++, but only with the
-no-pie
option, so I suspect that libbacktrace doesn't handle ASLR in this case. Unfortunately clang seems to enable pie by default with no way to disable it.I have the following with g++ and -no-pie:
Is it normal that the symbols are not demangled?
Here my versions: