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