Commit 04ea54fb authored by Mike Wittman's avatar Mike Wittman Committed by Commit Bot

[Sampling profiler] Remove StackConfiguration type

This struct is no longer used in the test.

Bug: 909957
Change-Id: I517f3647778971b51283343811e928d92e595b01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1579912
Commit-Queue: Mike Wittman <wittman@chromium.org>
Reviewed-by: default avatarCharlie Andrews <charliea@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653588}
parent 36287e90
...@@ -69,26 +69,6 @@ using FrameSets = std::vector<std::vector<Frame>>; ...@@ -69,26 +69,6 @@ using FrameSets = std::vector<std::vector<Frame>>;
namespace { namespace {
// Configuration for the frames that appear on the stack.
struct StackConfiguration {
enum Config { NORMAL, WITH_ALLOCA, WITH_OTHER_LIBRARY };
explicit StackConfiguration(Config config)
: StackConfiguration(config, nullptr) {
EXPECT_NE(config, WITH_OTHER_LIBRARY);
}
StackConfiguration(Config config, NativeLibrary library)
: config(config), library(library) {
EXPECT_TRUE(config != WITH_OTHER_LIBRARY || library);
}
Config config;
// Only used if config == WITH_OTHER_LIBRARY.
NativeLibrary library;
};
// Addresses near the start and end of a function. // Addresses near the start and end of a function.
struct FunctionAddressRange { struct FunctionAddressRange {
const void* start; const void* start;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment