| Index: src/base/platform/platform.h
|
| diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h
|
| index 84d9db5b9356a34a050e2f92edf07d97699cbb03..9464fb11231dbcd59efed2846ff4d4894681f83f 100644
|
| --- a/src/base/platform/platform.h
|
| +++ b/src/base/platform/platform.h
|
| @@ -235,13 +235,20 @@ 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), aslr_slide(0) {}
|
| + SharedLibraryAddress(const std::string& library_path, uintptr_t start,
|
| + uintptr_t end, intptr_t aslr_slide)
|
| + : library_path(library_path),
|
| + start(start),
|
| + end(end),
|
| + aslr_slide(aslr_slide) {}
|
|
|
| std::string library_path;
|
| uintptr_t start;
|
| uintptr_t end;
|
| + intptr_t aslr_slide;
|
| };
|
|
|
| static std::vector<SharedLibraryAddress> GetSharedLibraryAddresses();
|
|
|