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

Issue 2631753002: Fix ASAN default suppression symbol mangling on windows (Closed)

Created:
3 years, 11 months ago by etienneb
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ASAN default suppression symbol mangling on windows I'm working on a patch to fix asan_options on windows and I faced this two incompatibles symbols: 00D 00000000 SECT2 notype External | ?kASanDefaultSuppressions@@3PADA (char * kASanDefaultSuppressions) 01F 00000000 UNDEF notype External | _kASanDefaultSuppressions This is caused by the way the symbols are defined (i.e. extern "C"). src/build/sanitizers/asan_suppressions.cc char kASanDefaultSuppressions[] = src/build/sanitizers/sanitizer_options.cc extern "C" char kASanDefaultSuppressions[]; BUG=681027 R=eugenis@chromium.org, chrisha@chromium.com, rnk@chromium.org Review-Url: https://codereview.chromium.org/2631753002 Cr-Commit-Position: refs/heads/master@{#444764} Committed: https://chromium.googlesource.com/chromium/src/+/c9e8aae171ee0999ed1ad766089d76cf40159fee

Patch Set 1 #

Total comments: 4

Patch Set 2 : Moar cases #

Patch Set 3 : fix extern #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M build/sanitizers/sanitizer_options.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
etienneb
PTAL.
3 years, 11 months ago (2017-01-13 19:00:38 UTC) #2
Reid Kleckner
https://codereview.chromium.org/2631753002/diff/1/build/sanitizers/sanitizer_options.cc File build/sanitizers/sanitizer_options.cc (left): https://codereview.chromium.org/2631753002/diff/1/build/sanitizers/sanitizer_options.cc#oldcode134 build/sanitizers/sanitizer_options.cc:134: extern "C" char kTSanDefaultSuppressions[]; This has the same issue, ...
3 years, 11 months ago (2017-01-13 20:52:43 UTC) #3
etienneb
Thanks rnk@, fixed the other cases. PTAL. https://codereview.chromium.org/2631753002/diff/1/build/sanitizers/sanitizer_options.cc File build/sanitizers/sanitizer_options.cc (left): https://codereview.chromium.org/2631753002/diff/1/build/sanitizers/sanitizer_options.cc#oldcode134 build/sanitizers/sanitizer_options.cc:134: extern "C" ...
3 years, 11 months ago (2017-01-16 16:49:22 UTC) #5
etienneb
PTAL
3 years, 11 months ago (2017-01-16 20:32:55 UTC) #7
Reid Kleckner
lgtm
3 years, 11 months ago (2017-01-17 17:44:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2631753002/20001
3 years, 11 months ago (2017-01-17 17:44:26 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/343282)
3 years, 11 months ago (2017-01-17 17:52:12 UTC) #12
etienneb
This patch needs an owner approval.
3 years, 11 months ago (2017-01-17 17:53:04 UTC) #13
eugenis
lgtm
3 years, 11 months ago (2017-01-17 19:35:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2631753002/20001
3 years, 11 months ago (2017-01-17 19:36:23 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/294323)
3 years, 11 months ago (2017-01-17 20:18:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2631753002/40001
3 years, 11 months ago (2017-01-19 15:29:08 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 16:35:28 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c9e8aae171ee0999ed1ad766089d...

Powered by Google App Engine
This is Rietveld 408576698