[compiler-rt] [ASan] Ensure Symbolize Flag setting on Windows through __asan_default_options() is maintained throughout runtime (PR #132811)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 9 11:50:12 PDT 2025


================
@@ -241,6 +241,7 @@ void InitializeFlags() {
         InitializeDefaultFlags();
         ProcessFlags();
         ApplyFlags();
+        Symbolizer::UpdateSymbolizerTools();
----------------
vitalybuka wrote:

Name is misleading, if we switch from 0->1 call will not create new tools
So  piece like this make it more obvious:
```
if (!common_flags()->symbolize)
  Symbolizer::ClearTools();
```

https://github.com/llvm/llvm-project/pull/132811


More information about the llvm-commits mailing list