forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sampling profiler] Provide unwinder in stack_unwinder DFM
Implements the Android native/Java stack unwinder within the stack_unwinder dynamic feature module. Adds visibility/assert_no_deps constraints to //base/BUILD.gn to avoid leaking module implementation types into general Chrome code, which would defeat the purpose of using the module to avoid Chrome binary size increase. Adds required stub declarations/implementation for MemoryRegionsMap. Bug: 1083530, 1004855 Change-Id: If9d31c4e1b9d214bb0baabe3afa8475ba7adef4a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209297 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by: kylechar <kylechar@chromium.org> Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org> Auto-Submit: Mike Wittman <wittman@chromium.org> Cr-Commit-Position: refs/heads/master@{#771018}
- Loading branch information
Mike Wittman
authored and
Commit Bot
committed
May 21, 2020
1 parent
a392f87
commit 01b9624
Showing
7 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ | |
|
||
source_set("memory_regions_map") { | ||
public = [ "memory_regions_map.h" ] | ||
sources = [ "memory_regions_map.cc" ] | ||
} |
12 changes: 12 additions & 0 deletions
12
chrome/android/features/stack_unwinder/public/memory_regions_map.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright 2020 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#include "chrome/android/features/stack_unwinder/public/memory_regions_map.h" | ||
|
||
namespace stack_unwinder { | ||
|
||
MemoryRegionsMap::MemoryRegionsMap() = default; | ||
MemoryRegionsMap::~MemoryRegionsMap() = default; | ||
|
||
} // namespace stack_unwinder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters