https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999
--- Comment #39 from Ian Lance Taylor <ian at airs dot com> --- Unfortunately backtrace_simple does not handle inlined calls correctly, so it won't work for a couple of very important cases: doing a stack backtrace on panic, and skipping the right number of frames when called from places like the log package. I don't think that is a workable approach.