about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2020-09-22 15:30:09 +0200
committerest31 <MTest31@outlook.com>2020-09-22 15:34:22 +0200
commit05c3a2b07dc66fabc874181ce1eebea192cb4b56 (patch)
treea9d307162be87d991ad84244cbdcfb736929fdab /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent285fc7d704fcdd7b2a37d475d04d5d955490e000 (diff)
downloadrust-05c3a2b07dc66fabc874181ce1eebea192cb4b56.tar.gz
rust-05c3a2b07dc66fabc874181ce1eebea192cb4b56.zip
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 is only available on non-Windows platforms.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions