about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorThiƩbaud Weksteen <tweek@google.com>2021-03-15 11:21:39 +0100
committerThiƩbaud Weksteen <tweek@google.com>2021-04-09 15:33:43 +0200
commit52ee9fbc027f7c371ed2e34ad191633a42c11c95 (patch)
treeaf313f08ef9db0438d1dbc4a0762f47b607acfdd /compiler/rustc_codegen_llvm/src/lib.rs
parent354cc751b74e813f180755fa67bebcb669825755 (diff)
downloadrust-52ee9fbc027f7c371ed2e34ad191633a42c11c95.tar.gz
rust-52ee9fbc027f7c371ed2e34ad191633a42c11c95.zip
android: set abort message
Android has the ability to supply an abort message [1]. This message is
automatically included in the debug trace, which helps debugging [2].
Modify panic_abort to populate this message before calling abort().

[1] https://android.googlesource.com/platform/bionic/+/master/libc/include/android/set_abort_message.h
[2] https://source.android.com/devices/tech/debug/native-crash
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions