mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 22:00:10 +00:00
[scudo] Add initialization for TSDRegistrySharedT
Fixes compilation on Android which has a TSDSharedRegistry object in the config. Reviewed By: cryptoad, vitalybuka Differential Revision: https://reviews.llvm.org/D101951
This commit is contained in:
parent
ab90ae6f47
commit
6fac34251d
@ -197,11 +197,11 @@ private:
|
||||
return CurrentTSD;
|
||||
}
|
||||
|
||||
atomic_u32 CurrentIndex;
|
||||
u32 NumberOfTSDs;
|
||||
u32 NumberOfCoPrimes;
|
||||
u32 CoPrimes[TSDsArraySize];
|
||||
bool Initialized;
|
||||
atomic_u32 CurrentIndex = {};
|
||||
u32 NumberOfTSDs = 0;
|
||||
u32 NumberOfCoPrimes = 0;
|
||||
u32 CoPrimes[TSDsArraySize] = {};
|
||||
bool Initialized = false;
|
||||
HybridMutex Mutex;
|
||||
HybridMutex MutexTSDs;
|
||||
TSD<Allocator> TSDs[TSDsArraySize];
|
||||
|
Loading…
Reference in New Issue
Block a user