[sanitizer] Remove unnecessary attribute hidden.
This should fix windows build of compiler-rt broken in r317943.
The attribute is unnecessary because since GetMaxVirtualAddress was split in two,
we no longer use common_flags() in the ifunc resolver context.
@@ -34,9 +34,7 @@ struct CommonFlags {
};
// Functions to get/set global CommonFlags shared by all sanitizer runtimes:
-// FIXME: hidden needed for asan_premap_shadow. Consider building with
-// -fvisibility=hidden.
-extern CommonFlags common_flags_dont_use __attribute__((visibility("hidden")));
+extern CommonFlags common_flags_dont_use;
inline const CommonFlags *common_flags() {
return &common_flags_dont_use;
}
