Forked from
Glasgow Haskell Compiler / GHC
5330 commits behind the upstream repository.

Cheng Shao
authored
This commit fixes clang-specific rts compilation errors when compiling with TSAN: - clang doesn't have -Wtsan flag - Fix prototype of ghc_tsan_* helper functions - __tsan_atomic_* functions aren't clang built-ins and sanitizer/tsan_interface_atomic.h needs to be included - On macOS, TSAN runtime library is libclang_rt.tsan_osx_dynamic.dylib, not libtsan. -fsanitize-thread as a link-time flag will take care of linking the TSAN runtime library anyway so remove tsan as an rts extra library
Name | Last commit | Last update |
---|---|---|
.. | ||
MachRegs | ||
DLL.h | ||
MachRegs.h | ||
MachRegsForHost.h | ||
MiscClosures.h | ||
Prim.h | ||
Regs.h | ||
SMP.h | ||
Ticky.h | ||
Types.h |