[compiler-rt] r298492 - tsan: fix a typo
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 02:31:18 PDT 2017
Author: dvyukov
Date: Wed Mar 22 04:31:17 2017
New Revision: 298492
URL: http://llvm.org/viewvc/llvm-project?rev=298492&view=rev
Log:
tsan: fix a typo
s/covert_morder/convert_morder/
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.cc?rev=298492&r1=298491&r2=298492&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interface_atomic.cc Wed Mar 22 04:31:17 2017
@@ -450,7 +450,7 @@ static void AtomicFence(ThreadState *thr
// C/C++
-static morder covert_morder(morder mo) {
+static morder convert_morder(morder mo) {
if (flags()->force_seq_cst_atomics)
return (morder)mo_seq_cst;
@@ -470,7 +470,7 @@ static morder covert_morder(morder mo) {
#define SCOPED_ATOMIC(func, ...) \
const uptr callpc = (uptr)__builtin_return_address(0); \
uptr pc = StackTrace::GetCurrentPc(); \
- mo = covert_morder(mo); \
+ mo = convert_morder(mo); \
ThreadState *const thr = cur_thread(); \
if (thr->ignore_interceptors) \
return NoTsanAtomic##func(__VA_ARGS__); \
More information about the llvm-commits
mailing list