about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-11 12:29:36 +0000
committerbors <bors@rust-lang.org>2021-04-11 12:29:36 +0000
commit7953910464e073eb3876d1544a3fd5b5ba0ca49b (patch)
treeaa33373299026111ac2e659feae75cd480a2f815 /compiler/rustc_codegen_llvm/src/lib.rs
parent58f32da346642ff3f50186f6f4a0de46e61008be (diff)
parent52ee9fbc027f7c371ed2e34ad191633a42c11c95 (diff)
downloadrust-7953910464e073eb3876d1544a3fd5b5ba0ca49b.tar.gz
rust-7953910464e073eb3876d1544a3fd5b5ba0ca49b.zip
Auto merge of #81469 - tweksteen:android_set_message, r=m-ou-se
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