Index: base/profiler/stack_sampling_profiler.h |
diff --git a/base/profiler/stack_sampling_profiler.h b/base/profiler/stack_sampling_profiler.h |
index 5a6c3d0514d00a337d462f06e79c0e89ced5a249..681edef96968135c39eed41eaec05794ddda7b4f 100644 |
--- a/base/profiler/stack_sampling_profiler.h |
+++ b/base/profiler/stack_sampling_profiler.h |
@@ -69,7 +69,7 @@ class BASE_EXPORT StackSamplingProfiler { |
~Module(); |
// Points to the base address of the module. |
- const void* base_address; |
+ uintptr_t base_address; |
Mike Wittman
2015/08/31 20:57:57
I'd prefer to keep the const void* type for this a
erikchen
2015/08/31 21:15:17
The type of this member should not be dependent on
Mike Wittman
2015/08/31 21:42:00
Debuggability of the code is always a relevant con
sydli
2015/09/01 00:29:59
Okay; I split this into a separate CL:
https://cod
Mike Wittman
2015/09/01 00:41:57
The const void* => uintptr_t change should be pret
|
// An opaque binary string that uniquely identifies a particular program |
// version with high probability. This is parsed from headers of the loaded |
@@ -89,11 +89,12 @@ class BASE_EXPORT StackSamplingProfiler { |
// Identifies an unknown module. |
static const size_t kUnknownModuleIndex = static_cast<size_t>(-1); |
+ Frame(); |
Frame(const void* instruction_pointer, size_t module_index); |
Mike Wittman
2015/08/31 21:42:00
Similarly, the |instruction_pointer| parameter sho
sydli
2015/09/01 00:29:59
Done.
|
~Frame(); |
// The sampled instruction pointer within the function. |
- const void* instruction_pointer; |
+ uintptr_t instruction_pointer; |
// Index of the module in CallStackProfile::modules. We don't represent |
// module state directly here to save space. |