about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-09-23 14:54:15 +0200
committerGitHub <noreply@github.com>2020-09-23 14:54:15 +0200
commitc3c03f2f05f3144c2c24ff10fc6d1cca49a5f0be (patch)
tree68298355fa38099e25ffb0010a8bfade4c8830ea /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentf8dec3d0549beddcae22bc14c49a0778b50334ea (diff)
parent05c3a2b07dc66fabc874181ce1eebea192cb4b56 (diff)
downloadrust-c3c03f2f05f3144c2c24ff10fc6d1cca49a5f0be.tar.gz
rust-c3c03f2f05f3144c2c24ff10fc6d1cca49a5f0be.zip
Rollup merge of #77055 - est31:more_track_caller, r=Mark-Simulacrum
Add #[track_caller] to more panicking Cell functions

Continuation of #74526

Adds the #[track_caller] attribute to almost all panicking Cell
functions. The ones that borrow two Cells in their function
body are spared, because the panic location helps pinpoint
which of the two borrows failed. You'd need to have
full debuginfo and backtraces enabled together with column
info in order to be able to discern the cases.
Column info in debuginfo is only available on non-Windows platforms.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions