[compiler-rt] r200915 - tsan: remove unused functions
Dmitry Vyukov
dvyukov at google.com
Thu Feb 6 01:22:50 PST 2014
Author: dvyukov
Date: Thu Feb 6 03:22:50 2014
New Revision: 200915
URL: http://llvm.org/viewvc/llvm-project?rev=200915&view=rev
Log:
tsan: remove unused functions
Modified:
compiler-rt/trunk/lib/tsan/go/tsan_go.cc
Modified: compiler-rt/trunk/lib/tsan/go/tsan_go.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/go/tsan_go.cc?rev=200915&r1=200914&r2=200915&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/go/tsan_go.cc (original)
+++ compiler-rt/trunk/lib/tsan/go/tsan_go.cc Thu Feb 6 03:22:50 2014
@@ -143,24 +143,6 @@ void __tsan_write_range(ThreadState *thr
MemoryAccessRange(thr, (uptr)pc, (uptr)addr, size, true);
}
-void __tsan_read_range_pc(ThreadState *thr, void *addr, uptr size, uptr callpc,
- uptr pc) {
- if (callpc != 0)
- FuncEntry(thr, callpc);
- MemoryAccessRange(thr, (uptr)pc, (uptr)addr, size, false);
- if (callpc != 0)
- FuncExit(thr);
-}
-
-void __tsan_write_range_pc(ThreadState *thr, void *addr, uptr size, uptr callpc,
- uptr pc) {
- if (callpc != 0)
- FuncEntry(thr, callpc);
- MemoryAccessRange(thr, (uptr)pc, (uptr)addr, size, true);
- if (callpc != 0)
- FuncExit(thr);
-}
-
void __tsan_func_enter(ThreadState *thr, void *pc) {
FuncEntry(thr, (uptr)pc);
}
More information about the llvm-commits
mailing list