libbacktrace: fetch executable path on macOS
authorIan Lance Taylor <iant@golang.org>
Wed, 9 Sep 2020 02:09:21 +0000 (19:09 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 9 Sep 2020 02:09:21 +0000 (19:09 -0700)
commit181f877b6c0e365c940b117c306e7309e19ffd89
tree92a19d8f14527f33e6bcdf2aeea8c8769acda49f
parent0755f573f0874e152a919c61c62bf8d31aa190f0
libbacktrace: fetch executable path on macOS

PR libbacktrace/96973
* fileline.c (macho_get_executable_path): New static function.
(fileline_initialize): Call macho_get_executable_path.
libbacktrace/fileline.c