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

Issue 292153006: Enable mac_strip_release under ASan on OSX. Remove the .saves files. (Closed)

Created:
6 years, 7 months ago by Alexander Potapenko
Modified:
6 years, 6 months ago
Reviewers:
Mark Mentovai, Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Enable mac_strip_release under ASan on OSX. Remove the .saves files. 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). Because the ASan API functions are now undefined in the executables, it's actually senseless to use the .saves files to preserve those functions. This CL deletes the .saves files and turns mac_strip_release on for ASan builds. BUG=148383, 242503, 170739, 166857 R=mark@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273199

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : added a comment #

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

Messages

Total messages: 18 (0 generated)
Alexander Potapenko
Please take a look. For some reason the trybot runs still do not have .dSYM ...
6 years, 7 months ago (2014-05-26 14:26:01 UTC) #1
Alexander Potapenko
FTR https://codereview.chromium.org/299423004/ sets fastbuild=0 for ASan trybots.
6 years, 7 months ago (2014-05-26 16:25:47 UTC) #2
Mark Mentovai
I came across this again at the end of last week in https://codereview.chromium.org/295103014/ . Sadly, ...
6 years, 7 months ago (2014-05-27 03:33:22 UTC) #3
Alexander Potapenko
On 2014/05/27 03:33:22, Mark Mentovai wrote: > I came across this again at the end ...
6 years, 7 months ago (2014-05-27 07:22:57 UTC) #4
Mark Mentovai
LGTM to get this moving. Any difference if you try to set it as mac_strip_release% ...
6 years, 7 months ago (2014-05-27 12:51:00 UTC) #5
Alexander Potapenko
On 2014/05/27 12:51:00, Mark Mentovai wrote: > LGTM to get this moving. Any difference if ...
6 years, 7 months ago (2014-05-27 13:04:27 UTC) #6
Mark Mentovai
Oh, I thought you said the trybots were using fastbuild=0. Still LGTM.
6 years, 7 months ago (2014-05-27 13:06:34 UTC) #7
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 7 months ago (2014-05-27 13:29:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/292153006/20001
6 years, 7 months ago (2014-05-27 13:29:51 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 15:21:48 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 15:24:44 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/69858)
6 years, 7 months ago (2014-05-27 15:24:45 UTC) #12
Alexander Potapenko
Nico, i can haz owner's lgtm?
6 years, 7 months ago (2014-05-27 15:33:37 UTC) #13
Nico
rslgtm https://codereview.chromium.org/292153006/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/292153006/diff/20001/build/common.gypi#newcode2009 build/common.gypi:2009: 'mac_strip_release': 1, (I to found this confusing; maybe ...
6 years, 7 months ago (2014-05-27 15:37:23 UTC) #14
Alexander Potapenko
The CQ bit was checked by glider@chromium.org
6 years, 6 months ago (2014-05-28 08:31:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/292153006/40001
6 years, 6 months ago (2014-05-28 08:31:15 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 10:32:14 UTC) #17
commit-bot: I haz the power
6 years, 6 months ago (2014-05-28 13:19:50 UTC) #18
Message was sent while issue was closed.
Change committed as 273199

Powered by Google App Engine
This is Rietveld 408576698