I am using TCC as a backend for another programming language (my
own), I need a stack trace functionality. I already ranted that
backtrace and backtrace_symbols do not work with TCC for me, so I ended
up writing my own backtrace() to get a list of return adresses, and then
I am calling `objdump --dump` and parsing the output. This works well
and gives me all the functionality that I need, but unfortunately
calling objdump and parsing it's output is rather slow and dependency on
objdump binary is not very portable and will make users life harder.
Is there a way to get a mapping from addresses to file names/line
numbers in a fast and portable way with TinyC? I am even willing to
modify TCC a little if that's needed (if I get a good hint on what
exectly could be done about it).