Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: build/sanitizers/sanitizer_options.cc

Issue 2631753002: Fix ASAN default suppression symbol mangling on windows (Closed)
Patch Set: fix extern Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/sanitizers/sanitizer_options.cc
diff --git a/build/sanitizers/sanitizer_options.cc b/build/sanitizers/sanitizer_options.cc
index 39fa1403c975f379160571fd86c0ef339d111202..81958f214deab4d5163ffcd0cc29db0572f5cac1 100644
--- a/build/sanitizers/sanitizer_options.cc
+++ b/build/sanitizers/sanitizer_options.cc
@@ -101,7 +101,7 @@ SANITIZER_HOOK_ATTRIBUTE const char *__asan_default_options() {
return kAsanDefaultOptions;
}
-extern "C" char kASanDefaultSuppressions[];
+extern char kASanDefaultSuppressions[];
SANITIZER_HOOK_ATTRIBUTE const char *__asan_default_suppressions() {
return kASanDefaultSuppressions;
@@ -131,7 +131,7 @@ SANITIZER_HOOK_ATTRIBUTE const char *__tsan_default_options() {
return kTsanDefaultOptions;
}
-extern "C" char kTSanDefaultSuppressions[];
+extern char kTSanDefaultSuppressions[];
SANITIZER_HOOK_ATTRIBUTE const char *__tsan_default_suppressions() {
return kTSanDefaultSuppressions;
@@ -166,7 +166,7 @@ SANITIZER_HOOK_ATTRIBUTE const char *__lsan_default_options() {
return kLsanDefaultOptions;
}
-extern "C" char kLSanDefaultSuppressions[];
+extern char kLSanDefaultSuppressions[];
SANITIZER_HOOK_ATTRIBUTE const char *__lsan_default_suppressions() {
return kLSanDefaultSuppressions;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698