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

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

Issue 2807463004: GN: aix port along with linux_s390x, linux_ppc64 and linux_ppc64le support. (Closed)
Patch Set: removed the changes from //base/BUILD.gn 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 | « base/debug/debugger_posix.cc ('k') | base/debug/stack_trace.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 (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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <iosfwd> 10 #include <iosfwd>
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Copying and assignment are allowed with the default functions. 71 // Copying and assignment are allowed with the default functions.
72 72
73 // Gets an array of instruction pointer values. |*count| will be set to the 73 // Gets an array of instruction pointer values. |*count| will be set to the
74 // number of elements in the returned array. 74 // number of elements in the returned array.
75 const void* const* Addresses(size_t* count) const; 75 const void* const* Addresses(size_t* count) const;
76 76
77 // Prints the stack trace to stderr. 77 // Prints the stack trace to stderr.
78 void Print() const; 78 void Print() const;
79 79
80 #if !defined(__UCLIBC__) 80 #if !defined(__UCLIBC__) & !defined(_AIX)
81 // Resolves backtrace to symbols and write to stream. 81 // Resolves backtrace to symbols and write to stream.
82 void OutputToStream(std::ostream* os) const; 82 void OutputToStream(std::ostream* os) const;
83 #endif 83 #endif
84 84
85 // Resolves backtrace to symbols and returns as string. 85 // Resolves backtrace to symbols and returns as string.
86 std::string ToString() const; 86 std::string ToString() const;
87 87
88 private: 88 private:
89 #if defined(OS_WIN) 89 #if defined(OS_WIN)
90 void InitTrace(const _CONTEXT* context_record); 90 void InitTrace(const _CONTEXT* context_record);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 int base, 182 int base,
183 size_t padding); 183 size_t padding);
184 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) 184 #endif // defined(OS_POSIX) && !defined(OS_ANDROID)
185 185
186 } // namespace internal 186 } // namespace internal
187 187
188 } // namespace debug 188 } // namespace debug
189 } // namespace base 189 } // namespace base
190 190
191 #endif // BASE_DEBUG_STACK_TRACE_H_ 191 #endif // BASE_DEBUG_STACK_TRACE_H_
OLDNEW
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | base/debug/stack_trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698