concurrencykit / ck

Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.
http://concurrencykit.org/
Other
2.34k stars 312 forks source link

ck_pr/aarch64: Specify output operands for ck_pr_md_store_* #216

Closed markjdb closed 6 months ago

markjdb commented 6 months ago

As in commit 2f9acab, we want to specify output operand widths so that MSAN compiler instrumentation correctly updates the shadow map. In particular, LLVM's implementation depends on having type information for output operands, even when that's not otherwise necessary. Without it, KMSAN in FreeBSD generates false positives on aarch64.

Tested by running the regression suite on a MS DevKit running FreeBSD.

cognet commented 6 months ago

Merged! Thank you