diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-29 15:04:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-29 15:04:30 +0200 |
commit | 0417338bbbe28377a5c20e1b0d38dc802ea06b2b (patch) | |
tree | e3cb305b4fae81843c8e9df7e6fbce632923cb73 /libbutl/backtrace.mxx | |
parent | 5ea81f5bc791243ac77e82276a8a5a3faa3e155f (diff) |
Only enable backtrace support on Linux if using glibc
Other libc implementations, for example musl, don't support this out of the
box.
Diffstat (limited to 'libbutl/backtrace.mxx')
-rw-r--r-- | libbutl/backtrace.mxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/backtrace.mxx b/libbutl/backtrace.mxx index 25d0dcd..38b9ce2 100644 --- a/libbutl/backtrace.mxx +++ b/libbutl/backtrace.mxx @@ -31,10 +31,10 @@ LIBBUTL_MODEXPORT namespace butl // with the binary name, address in that binary, and, if available, the // function name for each stack frame. // - // Currently this functionality is only available on Linux, FreeBSD, and Mac - // OS. On the first two platforms the address can be mapped to the function - // name and, if built with debug info, to source location using the - // addr2line(1) utility: + // Currently this functionality is only available on Linux (with glibc), + // FreeBSD, and Mac OS. On the first two platforms the address can be mapped + // to the function name and, if built with debug info, to source location + // using the addr2line(1) utility: // // $ addr2line -f -C -e <binary> <addr> // |