Home
last modified time | relevance | path

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

123

/external/compiler-rt/lib/asan/
Dasan_report.h36 void NORETURN ReportDoubleFree(uptr addr, StackTrace *stack);
37 void NORETURN ReportFreeNotMalloced(uptr addr, StackTrace *stack);
38 void NORETURN ReportAllocTypeMismatch(uptr addr, StackTrace *stack,
42 StackTrace *stack);
44 StackTrace *stack);
47 const char *offset2, uptr length2, StackTrace *stack);
51 uptr addr, uptr zone_ptr, const char *zone_name, StackTrace *stack);
53 uptr addr, uptr zone_ptr, const char *zone_name, StackTrace *stack);
55 uptr addr, uptr zone_ptr, const char *zone_name, StackTrace *stack);
Dasan_allocator.h52 void GetAllocStack(StackTrace *stack);
53 void GetFreeStack(StackTrace *stack);
205 void *asan_memalign(uptr alignment, uptr size, StackTrace *stack,
207 void asan_free(void *ptr, StackTrace *stack, AllocType alloc_type);
209 void *asan_malloc(uptr size, StackTrace *stack);
210 void *asan_calloc(uptr nmemb, uptr size, StackTrace *stack);
211 void *asan_realloc(void *p, uptr size, StackTrace *stack);
212 void *asan_valloc(uptr size, StackTrace *stack);
213 void *asan_pvalloc(uptr size, StackTrace *stack);
216 StackTrace *stack);
[all …]
Dasan_stack.h22 void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp, bool fast);
23 void PrintStack(StackTrace *stack);
32 StackTrace stack; \
41 StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), fast)
Dasan_allocator2.cc217 static void GetStackTraceFromId(u32 id, StackTrace *stack) { in GetStackTraceFromId()
226 void AsanChunkView::GetAllocStack(StackTrace *stack) { in GetAllocStack()
230 StackTrace::UncompressStack(stack, chunk_->AllocStackBeg(), in GetAllocStack()
234 void AsanChunkView::GetFreeStack(StackTrace *stack) { in GetFreeStack()
238 StackTrace::UncompressStack(stack, chunk_->FreeStackBeg(), in GetFreeStack()
300 static void *Allocate(uptr size, uptr alignment, StackTrace *stack, in Allocate()
391 StackTrace::CompressStack(stack, m->AllocStackBeg(), m->AllocStackSize()); in Allocate()
418 static void Deallocate(void *ptr, StackTrace *stack, AllocType alloc_type) { in Deallocate()
447 StackTrace::CompressStack(stack, m->FreeStackBeg(), m->FreeStackSize()); in Deallocate()
473 static void *Reallocate(void *old_ptr, uptr new_size, StackTrace *stack) { in Reallocate()
[all …]
Dasan_allocator.cc172 void AsanChunkView::GetAllocStack(StackTrace *stack) { in GetAllocStack()
173 StackTrace::UncompressStack(stack, chunk_->compressed_alloc_stack(), in GetAllocStack()
177 void AsanChunkView::GetFreeStack(StackTrace *stack) { in GetFreeStack()
178 StackTrace::UncompressStack(stack, chunk_->compressed_free_stack(), in GetFreeStack()
501 static u8 *Allocate(uptr alignment, uptr size, StackTrace *stack, in Allocate()
581 StackTrace::CompressStack(stack, m->compressed_alloc_stack(), in Allocate()
594 static void Deallocate(u8 *ptr, StackTrace *stack, AllocType alloc_type) { in Deallocate()
624 StackTrace::CompressStack(stack, m->compressed_free_stack(), in Deallocate()
650 StackTrace *stack) { in Reallocate()
696 void *asan_memalign(uptr alignment, uptr size, StackTrace *stack, in asan_memalign()
[all …]
Dasan_thread.h34 void Init(u32 parent_tid, StackTrace *stack) { in Init()
49 StackTrace *stack() { return &stack_; } in stack()
62 StackTrace stack_;
75 void *arg, StackTrace *stack);
/external/webkit/Source/WebCore/bindings/v8/
DScriptCallStackFactory.h43 const v8::StackTrace::StackTraceOptions stackTraceOptions = static_cast<v8::StackTrace::StackTraceO…
44 v8::StackTrace::kLineNumber
45 | v8::StackTrace::kColumnOffset
46 | v8::StackTrace::kScriptNameOrSourceURL
47 | v8::StackTrace::kFunctionName);
49 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace>, size_t maxStackSize);
DScriptCallStackFactory.cpp63 static void toScriptCallFramesVector(v8::Handle<v8::StackTrace> stackTrace, Vector<ScriptCallFrame>… in toScriptCallFramesVector()
81 static PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace> stackTrace, siz… in createScriptCallStack()
90 PassRefPtr<ScriptCallStack> createScriptCallStack(v8::Handle<v8::StackTrace> stackTrace, size_t max… in createScriptCallStack()
100 …v8::Handle<v8::StackTrace> stackTrace(v8::StackTrace::CurrentStackTrace(maxStackSize, stackTraceOp… in createScriptCallStack()
/external/valgrind/main/include/
Dpub_tool_stacktrace.h35 typedef Addr* StackTrace; typedef
60 /*OUT*/StackTrace ips, UInt n_ips,
61 /*OUT*/StackTrace sps,
62 /*OUT*/StackTrace fps,
73 StackTrace ips, UInt n_ips
77 extern void VG_(pp_StackTrace) ( StackTrace ips, UInt n_ips );
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_stack_test.cc20 static void TestStackTrace(StackTrace *trace) { in TestStackTrace()
44 TEST(StackTrace, Basic) { in TEST() argument
46 StackTrace trace; in TEST()
50 TEST(StackTrace, StaticBasic) { in TEST() argument
53 StackTrace trace1(buf, 10); in TEST()
55 StackTrace trace2(buf, 3); in TEST()
59 TEST(StackTrace, StaticTrim) { in TEST() argument
62 StackTrace trace(buf, 2); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_sync.h26 class StackTrace {
28 StackTrace();
31 StackTrace(uptr *buf, uptr cnt);
32 ~StackTrace();
41 void CopyFrom(const StackTrace& other);
48 StackTrace(const StackTrace&);
49 void operator = (const StackTrace&);
Dtsan_sync.cc212 StackTrace::StackTrace() in StackTrace() function in __tsan::StackTrace
218 StackTrace::StackTrace(uptr *buf, uptr cnt) in StackTrace() function in __tsan::StackTrace
226 StackTrace::~StackTrace() { in ~StackTrace()
230 void StackTrace::Reset() { in Reset()
239 void StackTrace::Init(const uptr *pcs, uptr cnt) { in Init()
253 void StackTrace::ObtainCurrent(ThreadState *thr, uptr toppc) { in ObtainCurrent()
277 void StackTrace::CopyFrom(const StackTrace& other) { in CopyFrom()
282 bool StackTrace::IsEmpty() const { in IsEmpty()
286 uptr StackTrace::Size() const { in Size()
290 uptr StackTrace::Get(uptr i) const { in Get()
[all …]
Dtsan_rtl_report.cc33 static ReportStack *SymbolizeStack(const StackTrace& trace);
103 static ReportStack *SymbolizeStack(const StackTrace& trace) { in SymbolizeStack()
140 void ScopedReport::AddStack(const StackTrace *stack) { in AddStack()
146 const StackTrace *stack, const MutexSet *mset) { in AddMemoryAccess()
198 StackTrace trace; in AddThread()
267 StackTrace trace; in AddMutex()
305 StackTrace trace; in AddLocation()
331 StackTrace trace; in AddLocation()
361 StackTrace trace; in AddSleep()
372 void RestoreStack(int tid, const u64 epoch, StackTrace *stk, MutexSet *mset) { in RestoreStack()
[all …]
/external/chromium/base/debug/
Dstack_trace_unittest.cc23 TEST(StackTrace, MAYBE_OutputToStream) { in TEST() argument
24 StackTrace trace; in TEST()
104 TEST(StackTrace, DebugOutputToStream) { in TEST() argument
105 StackTrace trace; in TEST()
112 TEST(StackTrace, DebugPrintBacktrace) { in TEST() argument
113 StackTrace().PrintBacktrace(); in TEST()
Dstack_trace.h24 class BASE_API StackTrace {
27 StackTrace();
33 StackTrace(_EXCEPTION_POINTERS* exception_pointers);
38 ~StackTrace();
Dstack_trace.cc10 StackTrace::~StackTrace() { in ~StackTrace()
13 const void *const *StackTrace::Addresses(size_t* count) const { in Addresses()
Dstack_trace_win.cc138 StackTrace::StackTrace() { in StackTrace() function in base::debug::StackTrace
143 StackTrace::StackTrace(EXCEPTION_POINTERS* exception_pointers) { in StackTrace() function in base::debug::StackTrace
177 void StackTrace::PrintBacktrace() const { in PrintBacktrace()
181 void StackTrace::OutputToStream(std::ostream* os) const { in OutputToStream()
Dleak_tracker.h83 StackTrace stacktraces[kMaxStackTracesToCopyOntoStack];
88 StackTrace& allocation_stack = node->value()->allocation_stack_;
128 StackTrace allocation_stack_;
/external/compiler-rt/lib/msan/
Dmsan.h44 void *MsanReallocate(StackTrace *stack, void *oldp, uptr size,
67 void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
70 void ReportUMR(StackTrace *stack, u32 origin);
71 void ReportExpectedUMRNotFound(StackTrace *stack);
77 StackTrace stack; \
81 StackTrace::GetCurrentPc(), GET_CURRENT_FRAME(), \
Dmsan_report.cc49 StackTrace::PrintStack(trace, size, true, flags()->strip_path_prefix, 0); in PrintStack()
76 static void ReportSummary(const char *error_type, StackTrace *stack) { in ReportSummary()
79 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]); in ReportSummary()
89 void ReportUMR(StackTrace *stack, u32 origin) { in ReportUMR()
105 void ReportExpectedUMRNotFound(StackTrace *stack) { in ReportExpectedUMRNotFound()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.cc29 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { in GetPreviousInstructionPc()
64 void StackTrace::PrintStack(const uptr *addr, uptr size, in PrintStack()
126 uptr StackTrace::GetCurrentPc() { in GetCurrentPc()
130 void StackTrace::FastUnwindStack(uptr pc, uptr bp, in FastUnwindStack()
150 void StackTrace::PopStackFrames(uptr count) { in PopStackFrames()
162 uptr StackTrace::CompressStack(StackTrace *stack, u32 *compressed, uptr size) { in CompressStack()
208 StackTrace check_stack; in CompressStack()
225 void StackTrace::UncompressStack(StackTrace *stack, in UncompressStack()
Dsanitizer_stacktrace.h22 struct StackTrace { struct
54 static uptr CompressStack(StackTrace *stack, argument
56 static void UncompressStack(StackTrace *stack,
78 uptr pc = StackTrace::GetCurrentPc(); \
/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/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/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()

123