Lines Matching +full:- +full:- +full:stacktrace
2 // Use of this source code is governed by a BSD-style license that can be
36 // unit_tests only! This is not thread-safe: only call from main thread.
40 // contents. In non-official builds, this function also opens the object files
46 // Sets a first-chance callback for the stack dump signal handler. This callback
48 // signals, like out-of-bounds memory accesses in WebAssembly (WebAssembly Trap
63 // A stacktrace can be helpful in debugging. For example, you can include a
64 // stacktrace member in a object (probably around #ifndef NDEBUG) so that you
66 class BASE_EXPORT StackTrace {
78 // Creates a stacktrace from the current location.
79 StackTrace();
81 // Creates a stacktrace from the current location, of up to |count| entries.
83 explicit StackTrace(size_t count);
85 // Creates a stacktrace from an existing array of instruction
88 StackTrace(const void* const* trace, size_t count);
91 // Creates a stacktrace for an exception.
94 StackTrace(_EXCEPTION_POINTERS* exception_pointers);
95 StackTrace(const _CONTEXT* context);
106 // address from the leaf function, and Addresses()[count-1] will contain an
146 // Forwards to StackTrace::OutputToStream().
147 BASE_EXPORT std::ostream& operator<<(std::ostream& os, const StackTrace& s);
169 // reliable than StackTrace. It should work for debug and profiling builds,
252 // POSIX doesn't define any async-signal safe function for converting