diff options
Diffstat (limited to 'libsanitizer/tsan/tsan_suppressions.cc')
-rw-r--r-- | libsanitizer/tsan/tsan_suppressions.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsanitizer/tsan/tsan_suppressions.cc b/libsanitizer/tsan/tsan_suppressions.cc index 912b3834e87..fa0c30dc28c 100644 --- a/libsanitizer/tsan/tsan_suppressions.cc +++ b/libsanitizer/tsan/tsan_suppressions.cc @@ -85,6 +85,11 @@ void InitializeSuppressions() { #endif } +SuppressionContext *GetSuppressionContext() { + CHECK_NE(g_ctx, 0); + return g_ctx; +} + SuppressionType conv(ReportType typ) { if (typ == ReportTypeRace) return SuppressionRace; |