Lines Matching +full:- +full:- +full:stacktrace
2 // Use of this source code is governed by a BSD-style license that can be
17 #include "third_party/abseil-cpp/absl/types/optional.h"
45 // https://llvm.org/bugs/show_bug.cgi?id=18505 - LLVM generates
46 // x86-compatible frame, while GCC needs adjustment.
52 // On Arm-v8.3+ systems with pointer authentication codes (PAC), signature bits
60 // in the HINT space and treated as a no-op on older Arm cores (unlike the in StripPointerAuthenticationBits()
68 // No-op on other platforms. in StripPointerAuthenticationBits()
76 return fp_addr[0] - kStackFrameAdjustment; in GetNextStackFrame()
91 if (fp - prev_fp > 100000) return false; in IsStackFrameValid()
94 if (fp & (sizeof(uintptr_t) - 1)) return false; in IsStackFrameValid()
98 if (fp > stack_end - 2 * sizeof(uintptr_t)) return false; in IsStackFrameValid()
113 // base::WorkSourceDispatch <-- unwinding stops (next frame is invalid),
117 // base::MessagePumpGlib::Run <-- ScanStackForNextFrame() finds valid frame,
134 uintptr_t last_fp_to_scan = std::min(fp + kMaxStackScanArea, stack_end) - in ScanStackForNextFrame()
158 uintptr_t fp = reinterpret_cast<uintptr_t>(fpp) - kStackFrameAdjustment; in LinkStackFrames()
200 // No easy way to get end of the stack for non-main threads, in GetStackEnd()
218 StackTrace::StackTrace() : StackTrace(std::size(trace_)) {} in StackTrace() function in base::debug::StackTrace
220 StackTrace::StackTrace(size_t count) { in StackTrace() function in base::debug::StackTrace
224 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in base::debug::StackTrace
232 bool StackTrace::WillSymbolizeToStreamForTesting() { in WillSymbolizeToStreamForTesting()
238 // StackTrace::OutputToStream() is not implemented under uclibc, nor AIX. in WillSymbolizeToStreamForTesting()
251 // Under Fuchsia and Android, StackTrace emits executable build-Ids and in WillSymbolizeToStreamForTesting()
253 // being symbolized in-process. in WillSymbolizeToStreamForTesting()
264 const void *const *StackTrace::Addresses(size_t* count) const { in Addresses()
271 void StackTrace::Print() const { in Print()
275 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
279 std::string StackTrace::ToString() const { in ToString()
282 std::string StackTrace::ToStringWithPrefix(const char* prefix_string) const { in ToStringWithPrefix()
290 std::ostream& operator<<(std::ostream& os, const StackTrace& s) { in operator <<()
294 os << "StackTrace::OutputToStream not implemented."; in operator <<()
324 skip_initial--; in TraceStackFramePointersInternal()
354 reinterpret_cast<uintptr_t>(__builtin_frame_address(0)) - in TraceStackFramePointers()