about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-20 14:50:31 +0000
committerbors <bors@rust-lang.org>2017-09-20 14:50:31 +0000
commit01c65cb15ac57bfdc91613a4f6032ecc76c402a3 (patch)
tree3622c88ffe76513d86657eab0f485d6f1d789a3e /src/rustllvm/RustWrapper.cpp
parent4cdb36262b93390c8733a1ce44665619d9348981 (diff)
parent15887d786ba05a84f2fc5e7036cae88b91291c6c (diff)
downloadrust-01c65cb15ac57bfdc91613a4f6032ecc76c402a3.tar.gz
rust-01c65cb15ac57bfdc91613a4f6032ecc76c402a3.zip
Auto merge of #44525 - aidanhs:aphs-no-null-deref, r=alexcrichton
Correctly bubble up errors from libbacktrace

Previously the first part of this code didn't check for a null pointer and blindly passed it back down, causing a segfault if libbacktrace failed to initialise. I've changed this to check and bubble up the error if relevant.

Suggested diff view: https://github.com/rust-lang/rust/pull/44525/files?w=1
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions