Android: disable enable_code_ordering=false for is_component_build=false [chromium/src : main]

0 views
Skip to first unread message

Andrew Grieve (Gerrit)

unread,
Jan 27, 2026, 6:15:06 PM (11 days ago) Jan 27
to Andrew Grieve, Kartar Singh, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Kartar Singh

Andrew Grieve voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Kartar Singh
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
Gerrit-Change-Number: 7523945
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
Gerrit-Reviewer: Kartar Singh <karta...@google.com>
Gerrit-Attention: Kartar Singh <karta...@google.com>
Gerrit-Comment-Date: Tue, 27 Jan 2026 23:15:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Kartar Singh (Gerrit)

unread,
Jan 28, 2026, 6:00:17 AM (10 days ago) Jan 28
to Andrew Grieve, Eric Seckler, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Andrew Grieve

Kartar Singh added 2 comments

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Kartar Singh . resolved

\+cc @esec...@chromium.org, since you might know the code a bit more :)

File services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
Line 32, Patchset 1 (Latest):#if BUILDFLAG(SUPPORTS_CODE_ORDERING)
Kartar Singh . unresolved

Just wondering if lack of code ordering support actually implies no support for unwinding? Or is it being used as a proxy for something else?

Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Grieve
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
    Gerrit-Change-Number: 7523945
    Gerrit-PatchSet: 1
    Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Kartar Singh <karta...@google.com>
    Gerrit-CC: Eric Seckler <esec...@chromium.org>
    Gerrit-Attention: Andrew Grieve <agr...@chromium.org>
    Gerrit-Comment-Date: Wed, 28 Jan 2026 11:00:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Eric Seckler (Gerrit)

    unread,
    Jan 28, 2026, 9:44:04 AM (10 days ago) Jan 28
    to Andrew Grieve, Kartar Singh, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Andrew Grieve and Kartar Singh

    Eric Seckler voted and added 1 comment

    Votes added by Eric Seckler

    Code-Review+1

    1 comment

    Patchset-level comments
    Kartar Singh . resolved

    \+cc @esec...@chromium.org, since you might know the code a bit more :)

    Eric Seckler

    Not too familiar with all the unwinding edge cases. I believe we don't require unwinding support in component builds (we mainly care about this working in release builds) -- so this is likely fine?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Grieve
    • Kartar Singh
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
    Gerrit-Change-Number: 7523945
    Gerrit-PatchSet: 1
    Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
    Gerrit-Reviewer: Kartar Singh <karta...@google.com>
    Gerrit-Attention: Andrew Grieve <agr...@chromium.org>
    Gerrit-Attention: Kartar Singh <karta...@google.com>
    Gerrit-Comment-Date: Wed, 28 Jan 2026 14:43:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Kartar Singh <karta...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kartar Singh (Gerrit)

    unread,
    Jan 28, 2026, 9:55:56 AM (10 days ago) Jan 28
    to Andrew Grieve, Eric Seckler, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
    Attention needed from Andrew Grieve

    Kartar Singh voted and added 1 comment

    Votes added by Kartar Singh

    Code-Review+1

    1 comment

    Patchset-level comments
    Kartar Singh . resolved

    \+cc @esec...@chromium.org, since you might know the code a bit more :)

    Eric Seckler

    Not too familiar with all the unwinding edge cases. I believe we don't require unwinding support in component builds (we mainly care about this working in release builds) -- so this is likely fine?

    Kartar Singh

    Makes sense, I am not too sure either whether it currently works in component builds or not.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Grieve
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
    Gerrit-Change-Number: 7523945
    Gerrit-PatchSet: 1
    Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
    Gerrit-Reviewer: Kartar Singh <karta...@google.com>
    Gerrit-Attention: Andrew Grieve <agr...@chromium.org>
    Gerrit-Comment-Date: Wed, 28 Jan 2026 14:55:42 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Eric Seckler <esec...@chromium.org>
    Comment-In-Reply-To: Kartar Singh <karta...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Andrew Grieve (Gerrit)

    unread,
    Jan 28, 2026, 9:56:52 AM (10 days ago) Jan 28
    to Andrew Grieve, Kartar Singh, Eric Seckler, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

    Andrew Grieve voted and added 1 comment

    Votes added by Andrew Grieve

    Commit-Queue+2

    1 comment

    File services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
    Line 32, Patchset 1 (Latest):#if BUILDFLAG(SUPPORTS_CODE_ORDERING)
    Kartar Singh . resolved

    Just wondering if lack of code ordering support actually implies no support for unwinding? Or is it being used as a proxy for something else?

    Andrew Grieve

    Looking at what depends on code ordering, it's just `is_chrome_module()` part. I don't think the unwinding depends on it.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
      Gerrit-Change-Number: 7523945
      Gerrit-PatchSet: 1
      Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Kartar Singh <karta...@google.com>
      Gerrit-Comment-Date: Wed, 28 Jan 2026 14:56:40 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Kartar Singh <karta...@google.com>
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jan 28, 2026, 9:59:34 AM (10 days ago) Jan 28
      to Andrew Grieve, Kartar Singh, Eric Seckler, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Android: disable enable_code_ordering=false for is_component_build=false

      It doesn't make sense for component builds.

      My actual motivation is that I'd like to explore using mold/wild for
      debug Android builds, and they don't support the associated linker
      script.
      Bug: 40208899
      Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
      Auto-Submit: Andrew Grieve <agr...@chromium.org>
      Reviewed-by: Kartar Singh <karta...@google.com>
      Reviewed-by: Eric Seckler <esec...@chromium.org>
      Commit-Queue: Andrew Grieve <agr...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1575911}
      Files:
      • M base/BUILD.gn
      • M services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h
      Change size: S
      Delta: 2 files changed, 13 insertions(+), 5 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Kartar Singh, +1 by Eric Seckler
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I1e7246eebfc3e1cd9408dcece50a0aaf64e846d1
      Gerrit-Change-Number: 7523945
      Gerrit-PatchSet: 2
      Gerrit-Owner: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Eric Seckler <esec...@chromium.org>
      Gerrit-Reviewer: Kartar Singh <karta...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages