Chromium Code Reviews| Index: src/base/platform/platform.h |
| diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h |
| index 84d9db5b9356a34a050e2f92edf07d97699cbb03..96dcebb92cb2dabfcbca829e5c8dfcbcd0c6870e 100644 |
| --- a/src/base/platform/platform.h |
| +++ b/src/base/platform/platform.h |
| @@ -235,13 +235,17 @@ class OS { |
| // Support for the profiler. Can do nothing, in which case ticks |
| // occuring in shared libraries will not be properly accounted for. |
| struct SharedLibraryAddress { |
| - SharedLibraryAddress( |
| - const std::string& library_path, uintptr_t start, uintptr_t end) |
| - : library_path(library_path), start(start), end(end) {} |
| + SharedLibraryAddress(const std::string& library_path, uintptr_t start, |
| + uintptr_t end) |
| + : library_path(library_path), start(start), end(end), slide(0) {} |
|
Yang
2016/05/02 06:41:01
Can we call this aslr_slide across this whole CL?
fedor.indutny
2016/05/02 07:33:21
Acknowledged.
|
| + SharedLibraryAddress(const std::string& library_path, uintptr_t start, |
| + uintptr_t end, intptr_t slide) |
| + : library_path(library_path), start(start), end(end), slide(slide) {} |
| std::string library_path; |
| uintptr_t start; |
| uintptr_t end; |
| + intptr_t slide; |
| }; |
| static std::vector<SharedLibraryAddress> GetSharedLibraryAddresses(); |