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

Issue 517803004: Reland https://codereview.chromium.org/298333007/: Enable mac_strip_release under ASan on OSX. Remo… (Closed)

Created:
6 years, 3 months ago by Alexander Potapenko
Modified:
6 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland https://codereview.chromium.org/298333007/: Enable mac_strip_release under ASan on OSX. Remove the .saves files. The reasons for reverting the CL hadn't been documented. I'm going to reland and update the bugs. 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 TBR=mark@chromium.org Committed: https://crrev.com/5750a97fd179642548e6add77aafc1cdb0eec7e8 Cr-Commit-Position: refs/heads/master@{#292872}

Patch Set 1 #

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 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: 7 (1 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/517803004/1
6 years, 3 months ago (2014-09-01 12:05:27 UTC) #2
Alexander Potapenko
TBR The patch appears to work locally, and we don't have any info about the ...
6 years, 3 months ago (2014-09-01 12:57:45 UTC) #3
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_chromium_rel_swarming on tryserver.chromium.mac ...
6 years, 3 months ago (2014-09-01 12:59:14 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1) as d5319a149964f953e7506c1ff2b33f90974d19ea
6 years, 3 months ago (2014-09-01 13:44:46 UTC) #5
Marc Treib
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/522743003/ by treib@chromium.org. ...
6 years, 3 months ago (2014-09-01 17:06:00 UTC) #6
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:16:52 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5750a97fd179642548e6add77aafc1cdb0eec7e8
Cr-Commit-Position: refs/heads/master@{#292872}

Powered by Google App Engine
This is Rietveld 408576698