/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_stackdepot_test.cc | 22 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 …]
|
D | sanitizer_stacktrace_test.cc | 25 if (!StackTrace::WillUseFastUnwind(true)) in TryFastUnwind() 140 if (StackTrace::WillUseFastUnwind(false)) in TEST() 143 uptr pc = StackTrace::GetCurrentPc(); in TEST()
|
/external/valgrind/include/ |
D | pub_tool_stacktrace.h | 37 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/ |
D | sanitizer_stacktrace.h | 41 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(); \
|
D | sanitizer_stackdepot.h | 37 u32 StackDepotPut(StackTrace stack); 38 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 40 StackTrace StackDepotGet(u32 id); 52 StackTrace Get(u32 id);
|
D | sanitizer_stackdepot.cc | 37 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()
|
D | sanitizer_common_libcdep.cc | 48 void ReportErrorSummary(const char *error_type, StackTrace *stack) { in ReportErrorSummary() 57 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); in ReportErrorSummary()
|
D | sanitizer_stacktrace.cc | 20 uptr StackTrace::GetNextInstructionPc(uptr pc) { in GetNextInstructionPc() 28 uptr StackTrace::GetCurrentPc() { in GetCurrentPc()
|
/external/compiler-rt/lib/msan/ |
D | msan_poisoning.h | 32 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);
|
D | msan.h | 128 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())
|
D | msan_report.cc | 56 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()
|
D | msan_allocator.cc | 90 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()
|
D | msan_origin.h | 86 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()
|
D | msan_poisoning.cc | 44 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/ |
D | ErrorManager.cs | 39 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/ |
D | ExceptionExtensions.cs | 48 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/ |
D | ExceptionExtensions.cs | 53 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/ |
D | tsan_stack_test.cc | 75 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/ |
D | Signals.inc | 281 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/ |
D | lsan_allocator.h | 23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 26 void *Reallocate(const StackTrace &stack, void *p, uptr new_size,
|
D | lsan_allocator.cc | 71 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/ |
D | asan_stack.h | 71 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 77 StackTrace::GetCurrentPc(), \
|
D | asan_debugging.cc | 89 StackTrace stack(nullptr, 0); in AsanGetStack() 103 trace[i] = StackTrace::GetPreviousInstructionPc(stack.trace[i]); in AsanGetStack()
|
D | asan_suppressions.h | 25 bool IsStackTraceSuppressed(const StackTrace *stack);
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl_report.cc | 33 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()
|