Home
last modified time | relevance | path

Searched refs:StackFrame (Results 1 – 25 of 207) sorted by relevance

123456789

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker_unittest.cc29 void AssertBacktraceEquals(const StackFrame(&expected_backtrace)[N]) { in AssertBacktraceEquals()
51 for (StackFrame frame : ctx.backtrace.frames) in AssertBacktraceEmpty()
73 StackFrame c = kCupcake; in TEST_F()
74 StackFrame d = kDonut; in TEST_F()
75 StackFrame e = kEclair; in TEST_F()
76 StackFrame f = kFroyo; in TEST_F()
82 StackFrame frame_c[] = {c, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in TEST_F()
87 StackFrame frame_cd[] = {c, d, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in TEST_F()
95 StackFrame frame_ce[] = {c, e, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in TEST_F()
106 StackFrame frame_f[] = {f, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in TEST_F()
[all …]
Dheap_profiler_stack_frame_deduplicator.cc19 StackFrameDeduplicator::FrameNode::FrameNode(StackFrame frame, in FrameNode()
27 int StackFrameDeduplicator::Insert(const StackFrame* beginFrame, in Insert()
28 const StackFrame* endFrame) { in Insert()
30 std::map<StackFrame, int>* nodes = &roots_; in Insert()
33 for (const StackFrame* it = beginFrame; it != endFrame && *it; it++) { in Insert()
34 StackFrame frame = *it; in Insert()
102 size_t maps_size = roots_.size() * sizeof(std::pair<StackFrame, int>); in EstimateTraceMemoryOverhead()
107 maps_size += node.children.size() * sizeof(std::pair<StackFrame, int>); in EstimateTraceMemoryOverhead()
Dheap_profiler_stack_frame_deduplicator.h33 FrameNode(StackFrame frame, int parent_frame_index);
36 StackFrame frame;
43 std::map<StackFrame, int> children;
54 int Insert(const StackFrame* beginFrame, const StackFrame* endFrame);
70 std::map<StackFrame, int> roots_;
Dheap_profiler_stack_frame_deduplicator_unittest.cc25 StackFrame bt[] = {kBrowserMain, kCreateWidget, kMalloc}; in TEST()
53 StackFrame bt0[] = {kBrowserMain, kCreateWidget}; in TEST()
54 StackFrame bt1[] = {kRendererMain, kCreateWidget}; in TEST()
87 StackFrame bt0[] = {kBrowserMain, kCreateWidget}; in TEST()
88 StackFrame bt1[] = {kBrowserMain, kInitialize}; in TEST()
122 StackFrame bt0[] = {kBrowserMain, nullptr, nullptr, nullptr}; in TEST()
/external/google-breakpad/src/google_breakpad/processor/
Dstack_frame.h42 struct StackFrame { struct
57 StackFrame() in StackFrame() function
66 virtual ~StackFrame() {} in ~StackFrame() argument
72 case StackFrame::FRAME_TRUST_CONTEXT: in trust_description() argument
74 case StackFrame::FRAME_TRUST_PREWALKED: in trust_description()
76 case StackFrame::FRAME_TRUST_CFI: in trust_description()
78 case StackFrame::FRAME_TRUST_CFI_SCAN: in trust_description()
80 case StackFrame::FRAME_TRUST_FP: in trust_description()
82 case StackFrame::FRAME_TRUST_SCAN: in trust_description()
Dstack_frame_cpu.h52 struct StackFrameX86 : public StackFrame {
100 struct StackFramePPC : public StackFrame {
126 struct StackFramePPC64 : public StackFrame {
152 struct StackFrameAMD64 : public StackFrame {
197 struct StackFrameSPARC : public StackFrame {
221 struct StackFrameARM : public StackFrame {
273 struct StackFrameARM64 : public StackFrame {
337 struct StackFrameMIPS : public StackFrame {
Dsource_line_resolver_interface.h45 struct StackFrame;
95 virtual void FillSourceLineInfo(StackFrame *frame) = 0;
102 virtual WindowsFrameInfo *FindWindowsFrameInfo(const StackFrame *frame) = 0;
108 virtual CFIFrameInfo *FindCFIFrameInfo(const StackFrame *frame) = 0;
Dstack_frame_symbolizer.h50 struct StackFrame;
80 StackFrame* stack_frame);
82 virtual WindowsFrameInfo* FindWindowsFrameInfo(const StackFrame* frame);
84 virtual CFIFrameInfo* FindCFIFrameInfo(const StackFrame* frame);
/external/v8/src/
Dmacro-assembler.h84 explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) in FrameScope()
87 if (type != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameScope()
93 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in ~FrameScope()
105 DCHECK(type_ != StackFrame::MANUAL && type_ != StackFrame::NONE); in GenerateLeaveFrame()
111 StackFrame::Type type_;
117 FrameAndConstantPoolScope(MacroAssembler* masm, StackFrame::Type type) in FrameAndConstantPoolScope()
127 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameAndConstantPoolScope()
146 DCHECK(type_ != StackFrame::MANUAL && type_ != StackFrame::NONE); in GenerateLeaveFrame()
152 StackFrame::Type type_;
187 : FrameScope(masm, StackFrame::NONE) { } in AllowExternalCallThatCantCauseGC()
Dframes.h201 class StackFrame BASE_EMBEDDED {
241 StackFrame(const StackFrame& original) { in StackFrame() function
344 inline explicit StackFrame(StackFrameIteratorBase* iterator);
345 virtual ~StackFrame() { } in ~StackFrame()
383 void operator=(const StackFrame& original);
388 class EntryFrame: public StackFrame {
397 static EntryFrame* cast(StackFrame* frame) { in cast()
425 static EntryConstructFrame* cast(StackFrame* frame) { in cast()
439 class ExitFrame: public StackFrame {
452 static ExitFrame* cast(StackFrame* frame) { in cast()
[all …]
Dframes-inl.h53 inline StackFrame::StackFrame(StackFrameIteratorBase* iterator) in StackFrame() function
58 inline StackHandler* StackFrame::top_handler() const { in top_handler()
63 inline Code* StackFrame::LookupCode() const { in LookupCode()
68 inline Code* StackFrame::GetContainingCode(Isolate* isolate, Address pc) { in GetContainingCode()
73 inline Address* StackFrame::ResolveReturnAddressLocation(Address* pc_address) { in ResolveReturnAddressLocation()
85 : StackFrame(iterator) { in EntryFrame()
96 : StackFrame(iterator) { in ExitFrame()
101 : StackFrame(iterator) { in StandardFrame()
144 return marker == Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR); in IsArgumentsAdaptorFrame()
151 return marker == Smi::FromInt(StackFrame::CONSTRUCT); in IsConstructFrame()
[all …]
Dframes.cc24 StackFrame::return_address_location_resolver_ = NULL;
31 StackHandlerIterator(const StackFrame* frame, StackHandler* handler) in StackHandlerIterator()
85 StackFrame::State state; in Advance()
86 StackFrame::Type type = frame_->GetCallerState(&state); in Advance()
103 StackFrame::State state; in Reset()
104 StackFrame::Type type = ExitFrame::GetStateForFramePointer( in Reset()
112 StackFrame* StackFrameIteratorBase::SingletonFor(StackFrame::Type type, in SingletonFor()
113 StackFrame::State* state) { in SingletonFor()
114 if (type == StackFrame::NONE) return NULL; in SingletonFor()
115 StackFrame* result = SingletonFor(type); in SingletonFor()
[all …]
/external/google-breakpad/src/processor/
Dstackwalker_address_list.cc61 StackFrame* StackwalkerAddressList::GetContextFrame() { in GetContextFrame()
65 StackFrame* frame = new StackFrame(); in GetContextFrame()
67 frame->trust = StackFrame::FRAME_TRUST_PREWALKED; in GetContextFrame()
71 StackFrame* StackwalkerAddressList::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
86 StackFrame* frame = new StackFrame(); in GetCallerFrame()
88 frame->trust = StackFrame::FRAME_TRUST_PREWALKED; in GetCallerFrame()
Dstackwalker_x86.cc120 StackFrame* StackwalkerX86::GetContextFrame() { in GetContextFrame()
132 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
139 const vector<StackFrame*> &frames, in GetCallerByWindowsFrameInfo()
142 StackFrame::FrameTrust trust = StackFrame::FRAME_TRUST_NONE; in GetCallerByWindowsFrameInfo()
242 last_frame->trust == StackFrame::FRAME_TRUST_CONTEXT && in GetCallerByWindowsFrameInfo()
269 trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByWindowsFrameInfo()
391 trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByWindowsFrameInfo()
431 trust = StackFrame::FRAME_TRUST_CFI_SCAN; in GetCallerByWindowsFrameInfo()
450 (trust != StackFrame::FRAME_TRUST_CFI && ebp <= raSearchStart + offset); in GetCallerByWindowsFrameInfo()
507 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm.h71 virtual StackFrame* GetContextFrame();
72 virtual StackFrame* GetCallerFrame(const CallStack* stack,
78 StackFrameARM* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
83 StackFrameARM* GetCallerByFramePointer(const vector<StackFrame*> &frames);
87 StackFrameARM* GetCallerByStackScan(const vector<StackFrame*> &frames);
Dstackwalker_arm64.h72 virtual StackFrame* GetContextFrame();
73 virtual StackFrame* GetCallerFrame(const CallStack* stack,
79 StackFrameARM64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
84 StackFrameARM64* GetCallerByFramePointer(const vector<StackFrame*> &frames);
88 StackFrameARM64* GetCallerByStackScan(const vector<StackFrame*> &frames);
Dstackwalker_amd64.h71 virtual StackFrame* GetContextFrame();
72 virtual StackFrame* GetCallerFrame(const CallStack* stack,
78 StackFrameAMD64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
87 const vector<StackFrame*>& frames);
91 StackFrameAMD64* GetCallerByStackScan(const vector<StackFrame*> &frames);
Dstackwalker_x86.h76 virtual StackFrame* GetContextFrame();
77 virtual StackFrame* GetCallerFrame(const CallStack* stack,
84 const vector<StackFrame*> &frames,
91 StackFrameX86* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
99 StackFrameX86* GetCallerByEBPAtBase(const vector<StackFrame*> &frames,
Dstackwalker_arm64.cc60 StackFrame* StackwalkerARM64::GetContextFrame() { in GetContextFrame()
72 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
79 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
150 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
155 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
175 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
186 const vector<StackFrame*> &frames) { in GetCallerByFramePointer()
212 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointer()
226 StackFrame* StackwalkerARM64::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
233 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame()
Dstackwalker_amd64.cc110 StackFrame* StackwalkerAMD64::GetContextFrame() { in GetContextFrame()
122 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
129 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
146 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
151 const vector<StackFrame*>& frames) { in GetCallerByFramePointerRecovery()
182 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointerRecovery()
197 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
212 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
246 StackFrame* StackwalkerAMD64::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
253 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame()
Dstackwalker_mips.h64 virtual StackFrame* GetContextFrame();
65 virtual StackFrame* GetCallerFrame(const CallStack* stack,
71 StackFrameMIPS* GetCallerByCFIFrameInfo(const vector<StackFrame*>& frames,
76 StackFrameMIPS* GetCallerByStackScan(const vector<StackFrame*>& frames);
Dstackwalker_arm.cc61 StackFrame* StackwalkerARM::GetContextFrame() { in GetContextFrame()
73 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
80 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
159 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
164 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
184 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
195 const vector<StackFrame*> &frames) { in GetCallerByFramePointer()
226 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointer()
240 StackFrame* StackwalkerARM::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
247 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame()
Dstackwalker_mips.cc67 StackFrame* StackwalkerMIPS::GetContextFrame() { in GetContextFrame()
79 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
95 const vector<StackFrame*>& frames, in GetCallerByCFIFrameInfo()
163 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
168 StackFrame* StackwalkerMIPS::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
175 const vector<StackFrame*>& frames = *stack->frames(); in GetCallerFrame()
212 const vector<StackFrame*>& frames) { in GetCallerByStackScan()
281 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs40 using StackFrame = System.Diagnostics.StackFrame; typedef
48 StackFrame location = GetLastNonErrorManagerCodeLocation(e); in InternalError()
56 StackFrame location = GetLastNonErrorManagerCodeLocation(new Exception()); in InternalError()
67 private static StackFrame GetLastNonErrorManagerCodeLocation(Exception e) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
/external/llvm/lib/Support/Windows/
DSignals.inc210 STACKFRAME64 StackFrame = StackFrameOrig;
221 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
224 if (StackFrame.AddrFrame.Offset == 0)
226 StackTrace[Depth++] = (void *)(uintptr_t)StackFrame.AddrPC.Offset;
279 HANDLE hThread, STACKFRAME64 &StackFrame,
288 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
294 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
300 if (StackFrame.AddrFrame.Offset == 0)
305 DWORD64 PC = StackFrame.AddrPC.Offset;
315 StackFrame.Params[0], StackFrame.Params[1], StackFrame.Params[2],
[all …]

123456789