diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 12:05:09 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-04-07 12:05:09 +0000 |
commit | 74f7f399ac711cdf49363737389232d1efbd9cc9 (patch) | |
tree | be9940f318dc6e5036314a1309112edac83b3d4e /llvm/lib/IR/Module.cpp | |
parent | 7231c3372f0ebc9a0f13c1ccc672027a91f106a9 (diff) | |
download | bcm5719-llvm-74f7f399ac711cdf49363737389232d1efbd9cc9.tar.gz bcm5719-llvm-74f7f399ac711cdf49363737389232d1efbd9cc9.zip |
[tsan] Add support for OS X OSAtomic* functions
OS X provides atomic functions in libkern/OSAtomic.h. These provide atomic guarantees and they have alternatives which have barrier semantics. This patch adds proper TSan support for the functions from libkern/OSAtomic.h.
Differential Revision: http://reviews.llvm.org/D18500
llvm-svn: 265665
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions