On Jun 24, 2013, at 11:34 AM, Martin Nowak <c...@dawg.eu> wrote: > On 06/24/2013 04:54 PM, deadalnix wrote: >> Haaa, passing -export-dynamic to the linker did the trick. > > Exporting symbols from the executable is an ugly solution to get stacktraces. > It would be much better if we used the debug information instead. They also > provides richer information like line numbers.
If I remember correctly, the issue there was that the runtime would need to open the executable or map file and parse it, and it seemed a lot more straightforward to simply make an API call. But if you're inclined to submit a pull request...