Home
last modified time | relevance | path

Searched refs:StackTrace (Results 1 – 25 of 115) sorted by relevance

12345

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stackdepot_test.cc22 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
24 StackTrace stack = StackDepotGet(i1); in TEST()
31 StackTrace stack = StackDepotGet((1 << 30) - 1); in TEST()
36 u32 i1 = StackDepotPut(StackTrace()); in TEST()
37 StackTrace stack = StackDepotGet(i1); in TEST()
42 StackTrace stack = StackDepotGet(0); in TEST()
48 StackTrace s1(array, ARRAY_SIZE(array)); in TEST()
52 StackTrace stack = StackDepotGet(i1); in TEST()
60 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST()
63 StackTrace s2(array2, ARRAY_SIZE(array2)); in TEST()
[all …]
/external/v8/src/base/debug/
Dstack_trace.cc18 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in v8::base::debug::StackTrace
24 StackTrace::~StackTrace() = default;
26 const void* const* StackTrace::Addresses(size_t* count) const { in Addresses()
32 std::string StackTrace::ToString() const { in ToString()
Dstack_trace.h41 class V8_BASE_EXPORT StackTrace {
44 StackTrace();
49 StackTrace(const void* const* trace, size_t count);
55 explicit StackTrace(_EXCEPTION_POINTERS* exception_pointers);
56 explicit StackTrace(const _CONTEXT* context);
61 ~StackTrace();
Dstack_trace_win.cc46 debug::StackTrace(info).Print(); in StackDumpExceptionFilter()
171 StackTrace::StackTrace() { in StackTrace() function in v8::base::debug::StackTrace
176 StackTrace::StackTrace(EXCEPTION_POINTERS* exception_pointers) { in StackTrace() function in v8::base::debug::StackTrace
180 StackTrace::StackTrace(const CONTEXT* context) { InitTrace(context); } in StackTrace() function in v8::base::debug::StackTrace
182 void StackTrace::InitTrace(const CONTEXT* context_record) { in InitTrace()
229 void StackTrace::Print() const { OutputToStream(&std::cerr); } in Print()
231 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
Dstack_trace_fuchsia.cc26 StackTrace::StackTrace() {} in StackTrace() function in v8::base::debug::StackTrace
28 void StackTrace::Print() const { in Print()
33 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
Dstack_trace_android.cc72 StackTrace::StackTrace() { in StackTrace() function in v8::base::debug::StackTrace
78 void StackTrace::Print() const { in Print()
83 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
/external/gwp_asan/gwp_asan/optional/
Dbacktrace_sanitizer_common.cpp25 if (!StackTrace::WillUseFastUnwind(request_fast)) { in UnwindImpl()
49 __sanitizer::StackTrace StackTrace; in PrintBacktrace() local
50 StackTrace.trace = reinterpret_cast<__sanitizer::uptr *>(Trace); in PrintBacktrace()
51 StackTrace.size = TraceLength; in PrintBacktrace()
53 if (StackTrace.size == 0) { in PrintBacktrace()
58 StackTrace.Print(); in PrintBacktrace()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h39 struct StackTrace { struct
49 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument
50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function
51 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() function
74 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument
90 struct BufferedStackTrace : public StackTrace {
94 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace()
136 uptr pc = StackTrace::GetCurrentPc(); \
Dsanitizer_stackdepot.h38 u32 StackDepotPut(StackTrace stack);
39 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack);
41 StackTrace StackDepotGet(u32 id);
53 StackTrace Get(u32 id);
Dsanitizer_stackdepot.cc37 typedef StackTrace args_type;
111 u32 StackDepotPut(StackTrace stack) { in StackDepotPut()
116 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack) { in StackDepotPut_WithHandle()
120 StackTrace StackDepotGet(u32 id) { in StackDepotGet()
152 StackTrace StackDepotReverseMap::Get(u32 id) { in Get()
154 return StackTrace(); in Get()
159 return StackTrace(); in Get()
/external/libchrome/base/debug/
Dstack_trace.h55 class BASE_EXPORT StackTrace {
58 StackTrace();
62 explicit StackTrace(size_t count);
67 StackTrace(const void* const* trace, size_t count);
73 StackTrace(_EXCEPTION_POINTERS* exception_pointers);
74 StackTrace(const _CONTEXT* context);
Dstack_trace.cc199 StackTrace::StackTrace() : StackTrace(arraysize(trace_)) {} in StackTrace() function in base::debug::StackTrace
201 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in base::debug::StackTrace
208 const void *const *StackTrace::Addresses(size_t* count) const { in Addresses()
215 std::string StackTrace::ToString() const { in ToString()
Dstack_trace_android.cc72 StackTrace::StackTrace(size_t count) { in StackTrace() function in base::debug::StackTrace
80 void StackTrace::Print() const { in Print()
88 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
/external/compiler-rt/lib/msan/
Dmsan_poisoning.h32 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack);
37 StackTrace *stack);
42 StackTrace *stack);
46 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack);
55 void PoisonMemory(const void *dst, uptr size, StackTrace *stack);
Dmsan_report.cc56 pc = StackTrace::GetNextInstructionPc(pc); in DescribeStackOrigin()
57 StackTrace(&pc, 1).Print(); in DescribeStackOrigin()
66 StackTrace stack; in DescribeOrigin()
77 StackTrace stack = o.getStackTraceForHeapOrigin(); in DescribeOrigin()
79 case StackTrace::TAG_ALLOC: in DescribeOrigin()
83 case StackTrace::TAG_DEALLOC: in DescribeOrigin()
99 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR()
115 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
Dmsan.h231 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size);
232 void *MsanReallocate(StackTrace *stack, void *oldp, uptr size,
234 void MsanDeallocate(StackTrace *stack, void *ptr);
255 void ReportUMR(StackTrace *stack, u32 origin);
256 void ReportExpectedUMRNotFound(StackTrace *stack);
269 u32 ChainOrigin(u32 id, StackTrace *stack);
271 const int STACK_TRACE_TAG_POISON = StackTrace::TAG_CUSTOM + 1;
277 StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), \
293 GET_STORE_STACK_TRACE_PC_BP(StackTrace::GetCurrentPc(), GET_CURRENT_FRAME())
Dmsan_allocator.cc110 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, in MsanAllocate()
135 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate()
144 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate()
155 stack->tag = StackTrace::TAG_DEALLOC; in MsanDeallocate()
171 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc()
177 void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, in MsanReallocate()
196 stack->tag = StackTrace::TAG_ALLOC; in MsanReallocate()
/external/v8/src/inspector/
Dv8-stack-trace-impl.cc28 static const v8::StackTrace::StackTraceOptions stackTraceOptions =
29 static_cast<v8::StackTrace::StackTraceOptions>(
30 v8::StackTrace::kDetailed |
31 v8::StackTrace::kExposeFramesAcrossSecurityOrigins);
34 V8Debugger* debugger, v8::Local<v8::StackTrace> v8StackTrace, in toFramesVector()
77 std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObjectCommon( in buildInspectorObjectCommon()
96 std::unique_ptr<protocol::Runtime::StackTrace> stackTrace = in buildInspectorObjectCommon()
97 protocol::Runtime::StackTrace::create() in buildInspectorObjectCommon()
235 v8::Local<v8::StackTrace> v8StackTrace, int maxStackSize) { in create()
267 v8::Local<v8::StackTrace> v8StackTrace; in capture()
[all …]
Dv8-stack-trace-impl.h53 v8::Local<v8::StackTrace>,
60 std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObjectImpl(
63 std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObjectImpl(
76 std::unique_ptr<protocol::Runtime::API::StackTrace> buildInspectorObject()
78 std::unique_ptr<protocol::Runtime::API::StackTrace> buildInspectorObject(
121 std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObject(
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs39 using StackTrace = System.Diagnostics.StackTrace; typedef
69 StackTrace stackTrace = new StackTrace(e); in GetLastNonErrorManagerCodeLocation()
/external/llvm/lib/Support/
DSignals.cpp52 static bool findModulesAndOffsets(void **StackTrace, int Depth,
66 void **StackTrace, int Depth,
72 void **StackTrace, int Depth, in printSymbolizedStackTrace() argument
103 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace()
151 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << '\n'; in printSymbolizedStackTrace()
162 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << ' '; in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp52 static bool findModulesAndOffsets(void **StackTrace, int Depth,
66 void **StackTrace, int Depth,
72 void **StackTrace, int Depth, in printSymbolizedStackTrace() argument
103 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace()
151 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << '\n'; in printSymbolizedStackTrace()
162 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << ' '; in printSymbolizedStackTrace()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DExceptionExtensions.cs48 StackTrace trace = new StackTrace(e, true); in getStackTrace()
52 Array stackTrace = new StackTrace(true).GetFrames(); in getStackTrace()
75 string trace = e.StackTrace ?? string.Empty; in PrintStackTrace()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DExceptionExtensions.cs53 StackTrace trace = new StackTrace( e, true ); in getStackTrace()
58 frames = new StackTrace( true ).GetFrames().Skip( 1 ).ToArray(); in getStackTrace()
84 string trace = e.StackTrace ?? string.Empty; in PrintStackTrace()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc75 TEST(StackTrace, BasicVarSize) { in TEST() argument
80 TEST(StackTrace, BasicBuffered) { in TEST() argument
85 TEST(StackTrace, TrimVarSize) { in TEST() argument
90 TEST(StackTrace, TrimBuffered) { in TEST() argument

12345