File tree Expand file tree Collapse file tree 4 files changed +0
-52
lines changed
test/asan/TestCases/Windows Expand file tree Collapse file tree 4 files changed +0
-52
lines changed Original file line number Diff line number Diff line change @@ -241,8 +241,6 @@ void InitializeFlags() {
241241 InitializeDefaultFlags ();
242242 ProcessFlags ();
243243 ApplyFlags ();
244- if (!common_flags ()->symbolize )
245- Symbolizer::ClearTools ();
246244 });
247245
248246# if CAN_SANITIZE_UB
Original file line number Diff line number Diff line change @@ -136,8 +136,6 @@ class Symbolizer final {
136136 // / (if it wasn't already initialized).
137137 static Symbolizer *GetOrInit ();
138138 static void LateInitialize ();
139- static void ClearTools ();
140-
141139 // Returns a list of symbolized frames for a given address (containing
142140 // all inlined functions, if necessary).
143141 SymbolizedStack *SymbolizePC (uptr address);
Original file line number Diff line number Diff line change @@ -26,16 +26,6 @@ Symbolizer *Symbolizer::GetOrInit() {
2626 return symbolizer_;
2727}
2828
29- // If the 'symbolize' flag is set to 0, it clears the tools
30- // associated with the symbolizer to prevent unnecessary symbolization and
31- // resource usage. This is necessary because of the late binding of the
32- // overridden method, __asan_default_options().
33- void Symbolizer::ClearTools () {
34- SpinMutexLock l (&init_mu_);
35- if (symbolizer_)
36- symbolizer_->tools_ .clear ();
37- }
38-
3929// See sanitizer_symbolizer_markup.cpp.
4030#if !SANITIZER_SYMBOLIZER_MARKUP
4131
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments