We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8b4c8 commit 78faca3Copy full SHA for 78faca3
compiler-rt/lib/hwasan/hwasan_report.cpp
@@ -82,13 +82,14 @@ class ScopedReport {
82
InternalMmapVector<char> error_message_;
83
bool fatal;
84
85
- static InternalMmapVector<char> *error_message_ptr_;
86
static Mutex error_message_lock_;
+ static InternalMmapVector<char> *error_message_ptr_
87
+ SANITIZER_GUARDED_BY(error_message_lock_);
88
static void (*error_report_callback_)(const char *);
89
};
90
-InternalMmapVector<char> *ScopedReport::error_message_ptr_;
91
Mutex ScopedReport::error_message_lock_;
92
+InternalMmapVector<char> *ScopedReport::error_message_ptr_;
93
void (*ScopedReport::error_report_callback_)(const char *);
94
95
// If there is an active ScopedReport, append to its error message.
0 commit comments