This repository was archived by the owner on May 21, 2019. It is now read-only.
File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ extern size_t FLAG_quarantine_size;
91
91
extern int FLAG_demangle;
92
92
extern bool FLAG_symbolize;
93
93
extern int FLAG_v;
94
- extern bool FLAG_mt;
95
94
extern size_t FLAG_redzone;
96
95
extern int FLAG_debug;
97
96
extern bool FLAG_poison_shadow;
@@ -177,7 +176,6 @@ class LowLevelAllocator {
177
176
178
177
// -------------------------- Atomic ---------------- {{{1
179
178
static inline int AtomicInc (int *a) {
180
- if (!FLAG_mt) return ++(*a);
181
179
#ifdef ANDROID
182
180
return __atomic_inc (a) + 1 ;
183
181
#else
@@ -186,7 +184,6 @@ static inline int AtomicInc(int *a) {
186
184
}
187
185
188
186
static inline int AtomicDec (int *a) {
189
- if (!FLAG_mt) return --(*a);
190
187
#ifdef ANDROID
191
188
return __atomic_dec (a) - 1 ;
192
189
#else
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ static int FLAG_atexit;
57
57
bool FLAG_fast_unwind = true ;
58
58
59
59
size_t FLAG_redzone; // power of two, >= 32
60
- bool FLAG_mt; // set to 0 if you have only one thread.
61
60
size_t FLAG_quarantine_size;
62
61
int FLAG_demangle;
63
62
bool FLAG_symbolize;
@@ -665,7 +664,6 @@ void __asan_init() {
665
664
FLAG_debug = IntFlagValue (options, " debug=" , 0 );
666
665
FLAG_replace_cfallocator = IntFlagValue (options, " replace_cfallocator=" , 1 );
667
666
FLAG_fast_unwind = IntFlagValue (options, " fast_unwind=" , 1 );
668
- FLAG_mt = IntFlagValue (options, " mt=" , 1 );
669
667
FLAG_replace_str = IntFlagValue (options, " replace_str=" , 1 );
670
668
FLAG_replace_intrin = IntFlagValue (options, " replace_intrin=" , 0 );
671
669
FLAG_use_fake_stack = IntFlagValue (options, " use_fake_stack=" , 1 );
You can’t perform that action at this time.
0 commit comments