/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/libchrome/base/debug/ |
D | stack_trace.cc | 17 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()
|
D | stack_trace.h | 42 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();
|
D | leak_tracker.h | 87 StackTrace stacktraces[kMaxStackTracesToCopyOntoStack]; 92 StackTrace& allocation_stack = node->value()->allocation_stack_; 132 StackTrace allocation_stack_;
|
/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 | 39 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(); \
|
D | sanitizer_stackdepot.h | 38 u32 StackDepotPut(StackTrace stack); 39 StackDepotHandle StackDepotPut_WithHandle(StackTrace stack); 41 StackTrace StackDepotGet(u32 id); 53 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 | 49 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/ |
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 | 231 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())
|
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 | 110 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()
|
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/llvm/lib/Support/ |
D | Signals.cpp | 52 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/ |
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 | 259 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/ |
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,
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 72 stack.trace_buffer[0] = StackTrace::GetCurrentPc(); \ 78 StackTrace::GetCurrentPc(), \
|
/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() 525 bool IsFiredSuppression(Context *ctx, ReportType type, StackTrace trace) { in IsFiredSuppression() 694 PrintCurrentStackSlow(StackTrace::GetCurrentPc()); in __sanitizer_print_stack_trace()
|