Home
last modified time | relevance | path

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

1234

/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 …]
Dsanitizer_stacktrace_test.cc25 if (!StackTrace::WillUseFastUnwind(true)) in TryFastUnwind()
140 if (StackTrace::WillUseFastUnwind(false)) in TEST()
143 uptr pc = StackTrace::GetCurrentPc(); in TEST()
/external/libchrome/base/debug/
Dstack_trace.cc17 StackTrace::StackTrace(const void* const* trace, size_t count) { in StackTrace() function in base::debug::StackTrace
24 StackTrace::~StackTrace() { in ~StackTrace()
27 const void *const *StackTrace::Addresses(size_t* count) const { in Addresses()
34 std::string StackTrace::ToString() const { in ToString()
Dstack_trace.h42 class BASE_EXPORT StackTrace {
45 StackTrace();
50 StackTrace(const void* const* trace, size_t count);
56 StackTrace(_EXCEPTION_POINTERS* exception_pointers);
57 StackTrace(const _CONTEXT* context);
62 ~StackTrace();
Dleak_tracker.h87 StackTrace stacktraces[kMaxStackTracesToCopyOntoStack];
92 StackTrace& allocation_stack = node->value()->allocation_stack_;
132 StackTrace allocation_stack_;
/external/valgrind/include/
Dpub_tool_stacktrace.h37 typedef Addr* StackTrace; typedef
62 /*OUT*/StackTrace ips, UInt n_ips,
63 /*OUT*/StackTrace sps,
64 /*OUT*/StackTrace fps,
75 StackTrace ips, UInt n_ips
79 extern void VG_(pp_StackTrace) ( StackTrace ips, UInt n_ips );
/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()
131 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()
Dsanitizer_common_libcdep.cc49 void ReportErrorSummary(const char *error_type, StackTrace *stack) { in ReportErrorSummary()
59 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); in ReportErrorSummary()
/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.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_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_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()
Dmsan_origin.h86 Origin getNextChainedOrigin(StackTrace *stack) const { in getNextChainedOrigin()
94 StackTrace getStackTraceForHeapOrigin() const { in getStackTraceForHeapOrigin()
103 static Origin CreateHeapOrigin(StackTrace *stack) { in CreateHeapOrigin()
110 static Origin CreateChainedOrigin(Origin prev, StackTrace *stack) { in CreateChainedOrigin()
Dmsan_poisoning.cc44 StackTrace *stack) { in CopyOrigin()
99 StackTrace *stack) { in MoveShadowAndOrigin()
109 StackTrace *stack) { in CopyShadowAndOrigin()
117 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) { in CopyMemory()
165 void PoisonMemory(const void *dst, uptr size, StackTrace *stack) { in PoisonMemory()
/external/llvm/lib/Support/
DSignals.cpp52 static bool findModulesAndOffsets(void **StackTrace, int Depth,
65 static bool printSymbolizedStackTrace(void **StackTrace, int Depth,
70 static bool printSymbolizedStackTrace(void **StackTrace, int Depth, in printSymbolizedStackTrace() argument
91 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(), in printSymbolizedStackTrace()
139 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << '\n'; in printSymbolizedStackTrace()
150 OS << '#' << frame_no++ << ' ' << format_ptr(StackTrace[i]) << ' '; in printSymbolizedStackTrace()
/external/antlr/antlr-3.4/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/antlr/antlr-3.4/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/antlr-3.4/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
/external/llvm/lib/Support/Unix/
DSignals.inc259 void **StackTrace;
280 intptr_t addr = (intptr_t)data->StackTrace[j];
292 static bool findModulesAndOffsets(void **StackTrace, int Depth,
296 DlIteratePhdrData data = {StackTrace, Depth, true,
304 static bool findModulesAndOffsets(void **StackTrace, int Depth,
319 static void* StackTrace[256];
321 int depth = backtrace(StackTrace,
322 static_cast<int>(array_lengthof(StackTrace)));
323 if (printSymbolizedStackTrace(StackTrace, depth, OS))
329 dladdr(StackTrace[i], &dlinfo);
[all …]
/external/compiler-rt/lib/lsan/
Dlsan_allocator.h23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment,
26 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
/external/compiler-rt/lib/asan/
Dasan_stack.h72 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \
78 StackTrace::GetCurrentPc(), \
/external/compiler-rt/lib/tsan/rtl/
Dtsan_rtl_report.cc33 static ReportStack *SymbolizeStack(StackTrace trace);
44 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in TsanCheckFailed()
102 StackTrace stack = StackDepotGet(stack_id); in SymbolizeStackId()
108 static ReportStack *SymbolizeStack(StackTrace trace) { in SymbolizeStack()
118 pc1 = StackTrace::GetPreviousInstructionPc(pc); in SymbolizeStack()
152 void ScopedReport::AddStack(StackTrace stack, bool suppressable) { in AddStack()
158 void ScopedReport::AddMemoryAccess(uptr addr, Shadow s, StackTrace stack, in AddMemoryAccess()
525 bool IsFiredSuppression(Context *ctx, ReportType type, StackTrace trace) { in IsFiredSuppression()
694 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in __sanitizer_print_stack_trace()

1234