backtrace_symbols() doesn't supply file/line

How is this a valid stack trace with mangled symbol names and file/line information? I've already demangled the name, even though Windows does this for me.

The recommended approach to get file/line seems to be to proc "atos" process repeatedly on the symbols to turn them all into file/line. But shouldn't there just be a function call for this, or option to backtrace_symbols() since it's looking up the symbol anyways.

I don't get how this external process call would work for iOS, and it seems slow for macOS as well.

Compare this with Window CaptureStackBackTrace, and then there is a simple function call via DbgHelp.lib to retrieve the file/line. Am I supposed to somehow use the CoreSymbolicate framework on macOS/iOS?

backtrace_symbols() doesn't supply file/line
 
 
Q