[all-commits] [llvm/llvm-project] a097c4: [compiler-rt] Fix issue with compiler-rt tests mix...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri May 6 14:37:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a097c4ce95335f5c38d20f4e260f80c5e002be01
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M compiler-rt/test/tsan/Darwin/libcxx-shared-ptr-stress.mm
    M compiler-rt/test/tsan/libdispatch/groups-destructor.cpp

  Log Message:
  [compiler-rt] Fix issue with compiler-rt tests mixing <atomic> and <stdatomic.h>

Since D97044, libc++ implements <stdatomic.h>, which is not compatible
with the <atomic> header in C++03 mode. To fix the tests, avoid using
<stdatomic.h> at all, since it is not strictly required.


Differential Revision: https://reviews.llvm.org/D125118

More information about the All-commits mailing list