summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorWill Dietz <wdietz2@illinois.edu>2013-01-14 16:13:52 +0000
committerWill Dietz <wdietz2@illinois.edu>2013-01-14 16:13:52 +0000
commit9d3209b5c771a6e90a698d7d7a494a36c6e1637f (patch)
tree7008bc69231acf16a0af1fb665cadda3e7c76a1a /clang/lib/CodeGen/CodeGenModule.cpp
parent3e9218e50a96784dd014f202290e9569f7584b97 (diff)
downloadbcm5719-llvm-9d3209b5c771a6e90a698d7d7a494a36c6e1637f.tar.gz
bcm5719-llvm-9d3209b5c771a6e90a698d7d7a494a36c6e1637f.zip
[ubsan] Use __sanitizer::atomic_exchange(), prefer shared impl.
Specify weaker memory order in case we optimize for it in the future, presently still doing same __sync_lock_test_and_set() as before. Change suggested by Alexey Samsonov, thanks! llvm-svn: 172429
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud