File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,8 @@ void __asan_after_dynamic_init() {
477477 return ;
478478 CHECK (AsanInited ());
479479 Lock lock (&mu_for_globals);
480- // FIXME: Optionally report that we're unpoisoning globals from a module.
480+ if (flags ()->report_globals >= 3 )
481+ Printf (" DynInitUnpoison\n " );
481482 for (const DynInitGlobal &dyn_g : dynamic_init_globals) {
482483 const Global *g = &dyn_g.g ;
483484 if (!dyn_g.initialized ) {
Original file line number Diff line number Diff line change @@ -44,4 +44,6 @@ int getStructWithDtorValue() { return struct_with_dtor.value; }
4444int main () { return 0 ; }
4545
4646// CHECK: DynInitPoison module: {{.*}}initialization-nobug.cpp
47+ // CHECK: DynInitUnpoison
4748// CHECK: DynInitPoison module: {{.*}}initialization-nobug-extra.cpp
49+ // CHECK: DynInitUnpoison
You can’t perform that action at this time.
0 commit comments