Home
last modified time | relevance | path

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

123

/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/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.h41 struct StackTrace { struct
51 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() argument
52 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() function
53 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() function
76 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc() argument
92 struct BufferedStackTrace : public StackTrace {
96 BufferedStackTrace() : StackTrace(trace_buffer, 0), top_frame_bp(0) {} in BufferedStackTrace()
133 uptr pc = StackTrace::GetCurrentPc(); \
Dsanitizer_stackdepot.h37 u32 StackDepotPut(StackTrace stack);
38 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack);
40 StackTrace StackDepotGet(u32 id);
52 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.cc48 void ReportErrorSummary(const char *error_type, StackTrace *stack) { in ReportErrorSummary()
57 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); in ReportErrorSummary()
Dsanitizer_stacktrace.cc20 uptr StackTrace::GetNextInstructionPc(uptr pc) { in GetNextInstructionPc()
28 uptr StackTrace::GetCurrentPc() { in GetCurrentPc()
/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.h128 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size);
129 void *MsanReallocate(StackTrace *stack, void *oldp, uptr size,
131 void MsanDeallocate(StackTrace *stack, void *ptr);
154 void ReportUMR(StackTrace *stack, u32 origin);
155 void ReportExpectedUMRNotFound(StackTrace *stack);
168 u32 ChainOrigin(u32 id, StackTrace *stack);
170 const int STACK_TRACE_TAG_POISON = StackTrace::TAG_CUSTOM + 1;
176 StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), \
192 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.cc90 static void *MsanAllocate(StackTrace *stack, uptr size, uptr alignment, in MsanAllocate()
116 stack->tag = StackTrace::TAG_ALLOC; in MsanAllocate()
125 void MsanDeallocate(StackTrace *stack, void *p) { in MsanDeallocate()
137 stack->tag = StackTrace::TAG_DEALLOC; in MsanDeallocate()
153 void *MsanCalloc(StackTrace *stack, uptr nmemb, uptr size) { in MsanCalloc()
160 void *MsanReallocate(StackTrace *stack, void *old_p, uptr new_size, in MsanReallocate()
179 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/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.inc281 void **StackTrace;
302 intptr_t addr = (intptr_t)data->StackTrace[j];
312 static bool findModulesAndOffsets(void **StackTrace, int Depth,
315 DlIteratePhdrData data = {StackTrace, Depth, true,
321 static bool findModulesAndOffsets(void **StackTrace, int Depth,
328 static bool printSymbolizedStackTrace(void **StackTrace, int Depth,
330 // FIXME: Subtract necessary number from StackTrace entries to turn return addresses
347 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(),
387 OS << format("#%d %p\n", frame_no++, StackTrace[i]);
398 OS << format("#%d %p ", frame_no++, StackTrace[i]);
[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,
Dlsan_allocator.cc71 static void RegisterAllocation(const StackTrace &stack, void *p, uptr size) { in RegisterAllocation()
88 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, in Allocate()
111 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, in Reallocate()
/external/compiler-rt/lib/asan/
Dasan_stack.h71 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \
77 StackTrace::GetCurrentPc(), \
Dasan_debugging.cc89 StackTrace stack(nullptr, 0); in AsanGetStack()
103 trace[i] = StackTrace::GetPreviousInstructionPc(stack.trace[i]); in AsanGetStack()
Dasan_suppressions.h25 bool IsStackTraceSuppressed(const StackTrace *stack);
/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()
520 StackTrace trace) { in IsFiredSuppression()
685 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in __sanitizer_print_stack_trace()

123