about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-09 17:32:13 +0000
committerbors <bors@rust-lang.org>2017-09-09 17:32:13 +0000
commitddd123ed9a35ec76103d42cecf322ee8d2896bf9 (patch)
tree03c5d4c8020c62bc36f0486e65de8cae0eaf91a9 /src/liballoc
parent18366f4e8aaec1d46282cf0a6e0fe1a0ab202530 (diff)
parentaa6bd117bbe05930476b4aec1001fff77ce66348 (diff)
downloadrust-ddd123ed9a35ec76103d42cecf322ee8d2896bf9.tar.gz
rust-ddd123ed9a35ec76103d42cecf322ee8d2896bf9.zip
Auto merge of #44251 - kennytm:osx-backtrace, r=alexcrichton
Add libbacktrace support for Apple platforms (resubmitted)

Resubmitting #43422 rebased on the current master (cc @JohnColanduoni).

I have added an additional commit to fallback to `dladdr`-based `resolve_symbol` if `libbacktrace` returns `None`, otherwise the stack trace will be full of `<unknown>` when you forget to pass the `-g` flag (actually it seems — at least on macOS — the `dladdr` symbol is more accurate than the `libbacktrace` one).
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions