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

Issue 728233003: Reland https://codereview.chromium.org/292153006 with minor changes. (Closed)

Created:
6 years, 1 month ago by Alexander Potapenko
Modified:
6 years ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org, inferno
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland https://codereview.chromium.org/292153006 (Enable mac_strip_release under ASan on OSX. Remove the .saves files) with minor changes. Unce upon a time the ASan runtime library used to be statically linked into the executables on OSX. Because that library provided a number of API functions needed by the shared libraries, we had custom ASan-specific .saves files that told the `strip` utility to preserve those functions when stripping the executables. Then ASan switched to using dynamic runtime library, which instantly broke the stripping step, because the executables weren't necessarily referencing all the ASan API functions (issue 242503). As a result, stripping has been disabled, and we haven't had .dSYM debug info for ASan builds for more than a year now (issue 148383). This CL makes the buildsystem strip only the debug info from the ASan binaries. As a result, the .saves files aren't necessary anymore. This CL deletes them and turns mac_strip_release on for ASan builds. BUG=148383, 242503, 170739, 166857 TBR=mark@chromium.org Committed: https://crrev.com/1c2a4917f604903f092bb00afefbd0d5223bd2a8 Cr-Commit-Position: refs/heads/master@{#308976}

Patch Set 1 #

Patch Set 2 : add README.chromium #

Patch Set 3 : Remove comments #

Patch Set 4 : Split asan_symbolize.py changes into https://codereview.chromium.org/797253002/ #

Patch Set 5 : More comments #

Patch Set 6 : Don't use .saves files for ASan #

Total comments: 2

Patch Set 7 : Remove -S from strip args for ASan #

Total comments: 1

Patch Set 8 : Use strip -x for both non-ASan and ASan builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -87 lines) Patch
M build/asan.saves View 1 2 3 4 5 1 chunk +0 lines, -23 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 3 chunks +1 line, -20 lines 0 comments Download
M chrome/app/app_asan.saves View 1 2 3 4 5 1 chunk +0 lines, -32 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
Alexander Potapenko
On 2014/12/12 15:25:24, Alexander Potapenko wrote: > mailto:glider@chromium.org changed reviewers: > + mailto:mark@chromium.org Hi Mark, ...
6 years ago (2014-12-17 13:35:40 UTC) #2
Alexander Potapenko
On 2014/12/17 13:35:40, Alexander Potapenko wrote: > On 2014/12/12 15:25:24, Alexander Potapenko wrote: > > ...
6 years ago (2014-12-17 13:36:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/728233003/100001
6 years ago (2014-12-17 13:48:12 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/26901)
6 years ago (2014-12-17 13:54:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/728233003/100001
6 years ago (2014-12-17 13:57:08 UTC) #9
Mark Mentovai
LGTM https://codereview.chromium.org/728233003/diff/100001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/728233003/diff/100001/build/common.gypi#newcode5103 build/common.gypi:5103: 'STRIPFLAGS': '-S', but is this special case for ...
6 years ago (2014-12-17 13:57:39 UTC) #10
Alexander Potapenko
https://codereview.chromium.org/728233003/diff/100001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/728233003/diff/100001/build/common.gypi#newcode5103 build/common.gypi:5103: 'STRIPFLAGS': '-S', On 2014/12/17 13:57:39, Mark Mentovai wrote: > ...
6 years ago (2014-12-17 13:59:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/728233003/120001
6 years ago (2014-12-17 14:01:14 UTC) #14
Mark Mentovai
https://codereview.chromium.org/728233003/diff/120001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/728233003/diff/120001/build/common.gypi#newcode5099 build/common.gypi:5099: 'STRIPFLAGS': '-x', Well, yeah, but also, isn’t this -x ...
6 years ago (2014-12-17 14:06:10 UTC) #15
Alexander Potapenko
On 2014/12/17 14:06:10, Mark Mentovai wrote: > https://codereview.chromium.org/728233003/diff/120001/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/728233003/diff/120001/build/common.gypi#newcode5099 ...
6 years ago (2014-12-17 15:24:55 UTC) #17
Alexander Potapenko
On 2014/12/17 15:24:55, Alexander Potapenko wrote: > On 2014/12/17 14:06:10, Mark Mentovai wrote: > > ...
6 years ago (2014-12-17 16:39:03 UTC) #18
Mark Mentovai
LGTM
6 years ago (2014-12-17 17:36:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/728233003/140001
6 years ago (2014-12-18 08:11:36 UTC) #21
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years ago (2014-12-18 09:22:40 UTC) #22
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/1c2a4917f604903f092bb00afefbd0d5223bd2a8 Cr-Commit-Position: refs/heads/master@{#308976}
6 years ago (2014-12-18 09:23:46 UTC) #23
Alexander Potapenko
6 years ago (2014-12-18 10:30:44 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.chromium.org/807813005/ by glider@chromium.org.

The reason for reverting is: Reverting because of NaCl tests breakage
(http://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%...)

This probably happened because __asan_default_options got stripped..

Powered by Google App Engine
This is Rietveld 408576698