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() {
477
477
return ;
478
478
CHECK (AsanInited ());
479
479
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 " );
481
482
for (const DynInitGlobal &dyn_g : dynamic_init_globals) {
482
483
const Global *g = &dyn_g.g ;
483
484
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; }
44
44
int main () { return 0 ; }
45
45
46
46
// CHECK: DynInitPoison module: {{.*}}initialization-nobug.cpp
47
+ // CHECK: DynInitUnpoison
47
48
// CHECK: DynInitPoison module: {{.*}}initialization-nobug-extra.cpp
49
+ // CHECK: DynInitUnpoison
You can’t perform that action at this time.
0 commit comments