diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2015-01-27 20:19:17 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2015-01-27 20:19:17 +0000 |
commit | 91ffdec3ecbb47df14177ad2129742e3503f4f3c (patch) | |
tree | 0e3155e9adaf8f008a19ca0f76ea402205816ee4 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 312ad250ff2c396bf5ff42fd8aaf132fda9218ce (diff) | |
download | llvm-91ffdec3ecbb47df14177ad2129742e3503f4f3c.zip llvm-91ffdec3ecbb47df14177ad2129742e3503f4f3c.tar.gz llvm-91ffdec3ecbb47df14177ad2129742e3503f4f3c.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: 227231
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions