https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110196
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- libbacktrace is supposed to have code to do this, see fileline_initialize in libbacktrace/fileline.c
redi at gcc dot gnu.org via Gcc-bugs Fri, 09 Jun 2023 14:38:53 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110196
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- libbacktrace is supposed to have code to do this, see fileline_initialize in libbacktrace/fileline.c