forked from OSchip/llvm-project
tsan: remove unused function declarations
llvm-svn: 204328
This commit is contained in:
parent
c9e12aa323
commit
d3466b9e5e
|
@ -69,7 +69,6 @@ struct SyncVar {
|
||||||
SyncVar *next; // In SyncTab hashtable.
|
SyncVar *next; // In SyncTab hashtable.
|
||||||
DDMutex dd;
|
DDMutex dd;
|
||||||
|
|
||||||
uptr GetMemoryConsumption();
|
|
||||||
u64 GetId() const {
|
u64 GetId() const {
|
||||||
// 47 lsb is addr, then 14 bits is low part of uid, then 3 zero bits.
|
// 47 lsb is addr, then 14 bits is low part of uid, then 3 zero bits.
|
||||||
return GetLsb((u64)addr | (uid << 47), 61);
|
return GetLsb((u64)addr | (uid << 47), 61);
|
||||||
|
@ -98,8 +97,6 @@ class SyncTab {
|
||||||
|
|
||||||
SyncVar* Create(ThreadState *thr, uptr pc, uptr addr);
|
SyncVar* Create(ThreadState *thr, uptr pc, uptr addr);
|
||||||
|
|
||||||
uptr GetMemoryConsumption(uptr *nsync);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct Part {
|
struct Part {
|
||||||
Mutex mtx;
|
Mutex mtx;
|
||||||
|
|
Loading…
Reference in New Issue