commit | b10675ef14bea530551172547e2111bf707a408e | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Tue Nov 27 08:09:25 2012 +0000 |
committer | Dmitry Vyukov <dvyukov@google.com> | Tue Nov 27 08:09:25 2012 +0000 |
tree | 6153b0cac42c92e38d7a8d271f49bc78fb4432eb | |
parent | 2cf4fb488437f2d9107a6ad280a215016a34c901 [diff] |
tsan: instrument atomic nand operation git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168684 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Instrumentation/ThreadSanitizer.cpp b/lib/Transforms/Instrumentation/ThreadSanitizer.cpp index d054b5e..cdfaedf 100644 --- a/lib/Transforms/Instrumentation/ThreadSanitizer.cpp +++ b/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
@@ -188,6 +188,8 @@ NamePart = "_fetch_or"; else if (op == AtomicRMWInst::Xor) NamePart = "_fetch_xor"; + else if (op == AtomicRMWInst::Nand) + NamePart = "_fetch_nand"; else continue; SmallString<32> RMWName("__tsan_atomic" + itostr(BitSize) + NamePart);