diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h index ef37fd387f98..b6471db6a687 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h @@ -43,7 +43,7 @@ struct AddressInfo { internal_memset(this, 0, sizeof(AddressInfo)); } // Deletes all strings and sets all fields to zero. - void Clear(); + void Clear() SANITIZER_WEAK_ATTRIBUTE; void FillAddressAndModuleInfo(uptr addr, const char *mod_name, uptr mod_offset) {