diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-02-15 15:29:02 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-05-09 15:20:13 -0700 |
commit | 261356844a6cb3404f2627a58302f296fb6bebb2 (patch) | |
tree | 84dbfe1a8086ad45ee32fabca2ca1212b6050b85 /libsanitizer/tsan | |
parent | 925b418e065a9d94bd2c0d87fbfc93b573a309af (diff) | |
download | gcc-261356844a6cb3404f2627a58302f296fb6bebb2.zip gcc-261356844a6cb3404f2627a58302f296fb6bebb2.tar.gz gcc-261356844a6cb3404f2627a58302f296fb6bebb2.tar.bz2 |
libbacktrace: support fetching executable name using sysctl
This supports FreeBSD and NetBSD when /proc is not mounted.
libbacktrace/
* fileline.c (sysctl_exec_name): New static function.
(sysctl_exec_name1): New macro or static function.
(sysctl_exec_name2): Likewise.
(fileline_initialize): Try sysctl_exec_name[12].
* configure.ac: Check for sysctl args to fetch executable name.
* configure: Regenerate.
* config.h.in: Regenerate.
Diffstat (limited to 'libsanitizer/tsan')
0 files changed, 0 insertions, 0 deletions