aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2015-01-27 20:19:12 +0000
committerDmitry Vyukov <dvyukov@google.com>2015-01-27 20:19:12 +0000
commit312ad250ff2c396bf5ff42fd8aaf132fda9218ce (patch)
treed967adbeae5f97e1f51ef7b2971e2fc3e18ff1fd /llvm/lib/Object/MachOObjectFile.cpp
parentca49c036ba39bafe6a0c187be096f38a462dad13 (diff)
downloadllvm-312ad250ff2c396bf5ff42fd8aaf132fda9218ce.zip
llvm-312ad250ff2c396bf5ff42fd8aaf132fda9218ce.tar.gz
llvm-312ad250ff2c396bf5ff42fd8aaf132fda9218ce.tar.bz2
tsan: properly instrument unaligned accesses
If a memory access is unaligned, emit __tsan_unaligned_read/write callbacks instead of __tsan_read/write. Required to change semantics of __tsan_unaligned_read/write to not do the user memory. But since they were unused (other than through __sanitizer_unaligned_load/store) this is fine. Fixes long standing issue 17: https://code.google.com/p/thread-sanitizer/issues/detail?id=17 llvm-svn: 227230
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions