This repository was archived by the owner on May 21, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 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;
9191extern int FLAG_demangle;
9292extern bool FLAG_symbolize;
9393extern int FLAG_v;
94- extern bool FLAG_mt;
9594extern size_t FLAG_redzone;
9695extern int FLAG_debug;
9796extern bool FLAG_poison_shadow;
@@ -177,7 +176,6 @@ class LowLevelAllocator {
177176
178177// -------------------------- Atomic ---------------- {{{1
179178static inline int AtomicInc (int *a) {
180- if (!FLAG_mt) return ++(*a);
181179#ifdef ANDROID
182180 return __atomic_inc (a) + 1 ;
183181#else
@@ -186,7 +184,6 @@ static inline int AtomicInc(int *a) {
186184}
187185
188186static inline int AtomicDec (int *a) {
189- if (!FLAG_mt) return --(*a);
190187#ifdef ANDROID
191188 return __atomic_dec (a) - 1 ;
192189#else
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ static int FLAG_atexit;
5757bool FLAG_fast_unwind = true ;
5858
5959size_t FLAG_redzone; // power of two, >= 32
60- bool FLAG_mt; // set to 0 if you have only one thread.
6160size_t FLAG_quarantine_size;
6261int FLAG_demangle;
6362bool FLAG_symbolize;
@@ -665,7 +664,6 @@ void __asan_init() {
665664 FLAG_debug = IntFlagValue (options, " debug=" , 0 );
666665 FLAG_replace_cfallocator = IntFlagValue (options, " replace_cfallocator=" , 1 );
667666 FLAG_fast_unwind = IntFlagValue (options, " fast_unwind=" , 1 );
668- FLAG_mt = IntFlagValue (options, " mt=" , 1 );
669667 FLAG_replace_str = IntFlagValue (options, " replace_str=" , 1 );
670668 FLAG_replace_intrin = IntFlagValue (options, " replace_intrin=" , 0 );
671669 FLAG_use_fake_stack = IntFlagValue (options, " use_fake_stack=" , 1 );
You can’t perform that action at this time.
0 commit comments