[compiler-rt] r204328 - tsan: remove unused function declarations

Dmitry Vyukov dvyukov at google.com
Thu Mar 20 03:39:47 PDT 2014


Author: dvyukov
Date: Thu Mar 20 05:39:46 2014
New Revision: 204328

URL: http://llvm.org/viewvc/llvm-project?rev=204328&view=rev
Log:
tsan: remove unused function declarations

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_sync.h

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_sync.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_sync.h?rev=204328&r1=204327&r2=204328&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_sync.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_sync.h Thu Mar 20 05:39:46 2014
@@ -69,7 +69,6 @@ struct SyncVar {
   SyncVar *next;  // In SyncTab hashtable.
   DDMutex dd;
 
-  uptr GetMemoryConsumption();
   u64 GetId() const {
     // 47 lsb is addr, then 14 bits is low part of uid, then 3 zero bits.
     return GetLsb((u64)addr | (uid << 47), 61);
@@ -98,8 +97,6 @@ class SyncTab {
 
   SyncVar* Create(ThreadState *thr, uptr pc, uptr addr);
 
-  uptr GetMemoryConsumption(uptr *nsync);
-
  private:
   struct Part {
     Mutex mtx;





More information about the llvm-commits mailing list