Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: src/base/platform/platform.h

Issue 1934453003: [prof] export slide offset in profile log (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/base/platform/platform-macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform.h
diff --git a/src/base/platform/platform.h b/src/base/platform/platform.h
index 84d9db5b9356a34a050e2f92edf07d97699cbb03..9dbca385d087ccbba5f02f2d4b6a8eb3ac3c239f 100644
--- a/src/base/platform/platform.h
+++ b/src/base/platform/platform.h
@@ -237,11 +237,16 @@ class OS {
struct SharedLibraryAddress {
SharedLibraryAddress(
const std::string& library_path, uintptr_t start, uintptr_t end)
- : library_path(library_path), start(start), end(end) {}
+ : library_path(library_path), start(start), end(end), slide(0) {}
+ SharedLibraryAddress(
+ const std::string& library_path, uintptr_t start, uintptr_t end,
+ uintptr_t slide)
+ : library_path(library_path), start(start), end(end), slide(slide) {}
noordhuis 2016/04/30 10:37:10 I think this should use intptr_t for the slide bec
fedor.indutny 2016/04/30 19:54:50 Acknowledged.
std::string library_path;
uintptr_t start;
uintptr_t end;
+ uintptr_t slide;
};
static std::vector<SharedLibraryAddress> GetSharedLibraryAddresses();
« no previous file with comments | « no previous file | src/base/platform/platform-macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698