about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-23 15:37:02 +0000
committerbors <bors@rust-lang.org>2024-03-23 15:37:02 +0000
commit59b29455c17a6bf2fd69c70c194849c86ba35885 (patch)
tree7b4960cdad993b542a3d1a535f8d5e2e91994afe /compiler/rustc_codegen_llvm/src
parente19cc5e92249b02e96b90c22ab6592a5bf8535f6 (diff)
parent2d610f74731b667695e0baa1357857c09915ea4d (diff)
downloadrust-59b29455c17a6bf2fd69c70c194849c86ba35885.tar.gz
rust-59b29455c17a6bf2fd69c70c194849c86ba35885.zip
Auto merge of #3385 - Zoxc:read-types, r=RalfJung
Report retags as distinct from real memory accesses for data races

This changes the error reporting for data races such that reference invariants are no longer reported as real read and writes.

Before:
```
Data race detected between (1) non-atomic write on thread `unnamed-6` and (2) non-atomic read on thread `unnamed-5` at alloc1034971+0x10c. (2) just happened here
```

After:
```
Data race detected between (1) non-atomic write on thread `unnamed-8` and (2) shared reference invariant on thread `unnamed-6` at alloc1018329+0x190. (2) just happened here
```

Non-atomic read accesses from the *other* thread don't have this information tracked so those are called `some potential non-atomic read access` here.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions