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

Issue 2384953003: Android: Avoid linking with --gc-sections. (Closed)

Created:
4 years, 2 months ago by Lei Zhang
Modified:
4 years, 2 months ago
Reviewers:
eugenis, agrieve
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Android: Avoid linking with --gc-sections. No more --gc-sections in debug mode for test targets either. Re-enable instrumentation of globals in ASAN builds. This is effectively a reland of r387491. BUG=159801, 159847 Committed: https://crrev.com/404b02529e8f0139fa719f34ffa326014096a7c7 Cr-Commit-Position: refs/heads/master@{#422638}

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase, no {fdata,ffunction}-sections #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -33 lines) Patch
M build/config/compiler/BUILD.gn View 1 1 chunk +1 line, -9 lines 0 comments Download
M build/config/sanitizers/sanitizers.gni View 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 chunks +4 lines, -14 lines 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Lei Zhang
Trying again. I can no longer reproduce the error that caused https://codereview.chromium.org/1883723004 to revert because ...
4 years, 2 months ago (2016-10-03 16:10:30 UTC) #6
agrieve
lgtm. Just one question. Thanks for tackling this! https://codereview.chromium.org/2384953003/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (left): https://codereview.chromium.org/2384953003/diff/1/build/config/compiler/BUILD.gn#oldcode1371 build/config/compiler/BUILD.gn:1371: "-fdata-sections", ...
4 years, 2 months ago (2016-10-03 18:34:17 UTC) #7
eugenis
Looks great. Thanks!
4 years, 2 months ago (2016-10-03 20:07:39 UTC) #8
Lei Zhang
https://codereview.chromium.org/2384953003/diff/1/build/config/compiler/BUILD.gn File build/config/compiler/BUILD.gn (left): https://codereview.chromium.org/2384953003/diff/1/build/config/compiler/BUILD.gn#oldcode1371 build/config/compiler/BUILD.gn:1371: "-fdata-sections", On 2016/10/03 18:34:17, agrieve wrote: > Would it ...
4 years, 2 months ago (2016-10-03 20:45:50 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/2384953003/20001
4 years, 2 months ago (2016-10-03 20:47:03 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-04 00:46:15 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 00:50:11 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/404b02529e8f0139fa719f34ffa326014096a7c7
Cr-Commit-Position: refs/heads/master@{#422638}

Powered by Google App Engine
This is Rietveld 408576698