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

Side by Side Diff: base/debug/stack_trace.h

Issue 11745003: GTTF: dump registers on crash on 64-bit Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/debug/stack_trace_posix.cc » ('j') | base/debug/stack_trace_posix.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium 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 #ifndef BASE_DEBUG_STACK_TRACE_H_ 5 #ifndef BASE_DEBUG_STACK_TRACE_H_
6 #define BASE_DEBUG_STACK_TRACE_H_ 6 #define BASE_DEBUG_STACK_TRACE_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 #include <string> 9 #include <string>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 namespace internal { 80 namespace internal {
81 81
82 #if defined(OS_POSIX) && !defined(OS_ANDROID) 82 #if defined(OS_POSIX) && !defined(OS_ANDROID)
83 // POSIX doesn't define any async-signal safe function for converting 83 // POSIX doesn't define any async-signal safe function for converting
84 // an integer to ASCII. We'll have to define our own version. 84 // an integer to ASCII. We'll have to define our own version.
85 // itoa_r() converts a (signed) integer to ASCII. It returns "buf", if the 85 // itoa_r() converts a (signed) integer to ASCII. It returns "buf", if the
86 // conversion was successful or NULL otherwise. It never writes more than "sz" 86 // conversion was successful or NULL otherwise. It never writes more than "sz"
87 // bytes. Output will be truncated as needed, and a NUL character is always 87 // bytes. Output will be truncated as needed, and a NUL character is always
88 // appended. 88 // appended.
89 BASE_EXPORT char *itoa_r(intptr_t i, char *buf, size_t sz, int base); 89 BASE_EXPORT char *itoa_r(intptr_t i,
90 char *buf,
91 size_t sz,
92 int base,
93 size_t padding);
90 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) 94 #endif // defined(OS_POSIX) && !defined(OS_ANDROID)
91 95
92 } // namespace internal 96 } // namespace internal
93 97
94 } // namespace debug 98 } // namespace debug
95 } // namespace base 99 } // namespace base
96 100
97 #endif // BASE_DEBUG_STACK_TRACE_H_ 101 #endif // BASE_DEBUG_STACK_TRACE_H_
OLDNEW
« no previous file with comments | « no previous file | base/debug/stack_trace_posix.cc » ('j') | base/debug/stack_trace_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698