Compiling std atomic with thread sanitizer causes broken LLVM emission. #122476
Labels
A-atomic
Area: Atomics, barriers, and sync primitives
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
A-sanitizers
Area: Sanitizers for correctness and code quality
C-bug
Category: This is a bug.
llvm-fixed-upstream
Issue expected to be fixed by the next major LLVM upgrade, or backported fixes
requires-nightly
This issue requires a nightly compiler in some way.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Update: I forgot to write the command, its
I tried this code:
I expected to see this happen: compiles fine
Instead, this happened: I get an
rustc-LLVM ERROR: Broken function found, compilation aborted!
.This does not occur on
nightly-2024-03-12
.Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: