[all-commits] [llvm/llvm-project] cdb391: [tsan] Do not include <stdatomic.h> from sanitize-...
Alexander Potapenko via All-commits
all-commits at lists.llvm.org
Mon Aug 23 07:24:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cdb391698bb29fcbb9156604793121fdd73d3a89
https://github.com/llvm/llvm-project/commit/cdb391698bb29fcbb9156604793121fdd73d3a89
Author: Alexander Potapenko <glider at google.com>
Date: 2021-08-23 (Mon, 23 Aug 2021)
Changed paths:
M clang/test/CodeGen/sanitize-thread-disable.c
Log Message:
-----------
[tsan] Do not include <stdatomic.h> from sanitize-thread-disable.c
Looks like non-x86 bots are unhappy with inclusion of <stdatomic.h>
e.g.:
clang-armv7-vfpv3-2stage - https://lab.llvm.org/buildbot/#/builders/182/builds/626
clang-ppc64le-linux - https://lab.llvm.org/buildbot/#/builders/76/builds/3619
llvm-clang-win-x-armv7l - https://lab.llvm.org/buildbot/#/builders/60/builds/4514
It seems to be unnecessary, just remove it and replace atomic_load()
calls with dereferences of _Atomic*.
Differential Revision: https://reviews.llvm.org/D108555
More information about the All-commits
mailing list