about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-03-11 09:29:37 -0700
committerGitHub <noreply@github.com>2024-03-11 09:29:37 -0700
commit671fc18ba2c37999dcd6742af12b7abdb86a3520 (patch)
tree1cbc8513a09c9c97cd1acaa3dde621f385fc3a5d /compiler/rustc_codegen_llvm/src/context.rs
parentf6ca4258d219979c78e80f688872458a4ad49419 (diff)
parent73fc17054490b246ee3e3c2cf515a1c850a3a4a5 (diff)
downloadrust-671fc18ba2c37999dcd6742af12b7abdb86a3520.tar.gz
rust-671fc18ba2c37999dcd6742af12b7abdb86a3520.zip
Rollup merge of #122299 - compiler-errors:bt-for-must-diag, r=nnethercote
Store backtrace for `must_produce_diag`

This makes it significantly easier to debug a `must_produce_diag` ICE, since we have no other way to know where the heck the bug originates from.

Backtrace rendering kinda sucks right now since we're just printing it in the panic message; happy to apply some suggestions to make it prettier or reuse other bug printing machinery, but also don't want to iterate too much on the rendering since this really is just for debug purposes.

r? nnethercote
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions