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

Side by Side Diff: src/base/logging.cc

Issue 2780913002: Add some missing stdarg includes (Closed)
Patch Set: ... Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/heap/gc-tracer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/base/logging.h" 5 #include "src/base/logging.h"
6 6
7 #include <cstdarg>
7 #include <cstdio> 8 #include <cstdio>
8 #include <cstdlib> 9 #include <cstdlib>
9 10
10 #include "src/base/debug/stack_trace.h" 11 #include "src/base/debug/stack_trace.h"
11 #include "src/base/platform/platform.h" 12 #include "src/base/platform/platform.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace base { 15 namespace base {
15 16
16 namespace { 17 namespace {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 va_start(arguments, format); 66 va_start(arguments, format);
66 v8::base::OS::VPrintError(format, arguments); 67 v8::base::OS::VPrintError(format, arguments);
67 va_end(arguments); 68 va_end(arguments);
68 v8::base::OS::PrintError("\n#\n"); 69 v8::base::OS::PrintError("\n#\n");
69 70
70 if (v8::base::g_print_stack_trace) v8::base::g_print_stack_trace(); 71 if (v8::base::g_print_stack_trace) v8::base::g_print_stack_trace();
71 72
72 fflush(stderr); 73 fflush(stderr);
73 v8::base::OS::Abort(); 74 v8::base::OS::Abort();
74 } 75 }
OLDNEW
« no previous file with comments | « no previous file | src/heap/gc-tracer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698