about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-15 17:04:25 +0000
committerbors <bors@rust-lang.org>2022-12-15 17:04:25 +0000
commit4954a7ef5c5bb45f1c0d021491702ad05d470821 (patch)
tree69aff75808ced42e756b27f6a9812ac022ebcb3c /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent984eab57f708e62c09b3d708033fe620130b5f39 (diff)
parent2d89027fac84d7ba95cf2d66b49136d3f0d08ba2 (diff)
downloadrust-4954a7ef5c5bb45f1c0d021491702ad05d470821.tar.gz
rust-4954a7ef5c5bb45f1c0d021491702ad05d470821.zip
Auto merge of #104616 - RalfJung:ctfe-alignment, r=oli-obk,RalfJung
always check alignment during CTFE

We originally disabled alignment checks because they got in the way -- there are some things we do with the interpreter during CTFE which does not correspond to actually running user-written code, but is purely administrative, and we didn't want alignment checks there, so we just disabled them entirely. But with `-Zextra-const-ub-checks` we anyway had to figure out how to disable those alignment checks while doing checks in regular code. So now it is easy to enable CTFE alignment checking by default. Let's see what the perf consequences of that are.

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions