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

Unified Diff: src/log-utils.cc

Issue 1867383002: Revert of Fix printf formats (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 | « src/log-utils.h ('k') | src/profiler/allocation-tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log-utils.cc
diff --git a/src/log-utils.cc b/src/log-utils.cc
index a83a0aed568d7b5e6407bb3e430cc7c3c13f3189..ff9af685d133b042cad0980358bf579d47ad3abc 100644
--- a/src/log-utils.cc
+++ b/src/log-utils.cc
@@ -164,7 +164,11 @@
}
}
-void Log::MessageBuilder::AppendAddress(Address addr) { Append("%p", addr); }
+
+void Log::MessageBuilder::AppendAddress(Address addr) {
+ Append("0x%" V8PRIxPTR, addr);
+}
+
void Log::MessageBuilder::AppendSymbolName(Symbol* symbol) {
DCHECK(symbol);
« no previous file with comments | « src/log-utils.h ('k') | src/profiler/allocation-tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698