Home
last modified time | relevance | path

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

12345678910

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker_unittest.cc47 void AssertBacktraceEquals(const StackFrame(&expected_backtrace)[N]) { in AssertBacktraceEquals()
69 StackFrame t = StackFrame::FromThreadName(kThreadName); in AssertBacktraceContainsOnlyThreadName()
99 StackFrame t = StackFrame::FromThreadName(kThreadName); in TEST_F()
100 StackFrame c = StackFrame::FromTraceEventName(kCupcake); in TEST_F()
101 StackFrame d = StackFrame::FromTraceEventName(kDonut); in TEST_F()
102 StackFrame e = StackFrame::FromTraceEventName(kEclair); in TEST_F()
103 StackFrame f = StackFrame::FromTraceEventName(kFroyo); in TEST_F()
109 StackFrame frame_c[] = {t, c}; in TEST_F()
114 StackFrame frame_cd[] = {t, c, d}; in TEST_F()
122 StackFrame frame_ce[] = {t, c, e}; in TEST_F()
[all …]
Dheap_profiler_stack_frame_deduplicator_unittest.cc19 StackFrame kBrowserMain = StackFrame::FromTraceEventName("BrowserMain");
20 StackFrame kRendererMain = StackFrame::FromTraceEventName("RendererMain");
21 StackFrame kCreateWidget = StackFrame::FromTraceEventName("CreateWidget");
22 StackFrame kInitialize = StackFrame::FromTraceEventName("Initialize");
23 StackFrame kMalloc = StackFrame::FromTraceEventName("malloc");
26 StackFrame bt[] = {kBrowserMain, kCreateWidget, kMalloc}; in TEST()
51 StackFrame null_frame = StackFrame::FromTraceEventName(nullptr); in TEST()
52 StackFrame bt[] = {kBrowserMain, null_frame, kMalloc}; in TEST()
83 StackFrame bt0[] = {kBrowserMain, kCreateWidget}; in TEST()
84 StackFrame bt1[] = {kRendererMain, kCreateWidget}; in TEST()
[all …]
Dheap_profiler_allocation_context.h43 struct BASE_EXPORT StackFrame { struct
50 static StackFrame FromTraceEventName(const char* name) { in FromTraceEventName() argument
53 static StackFrame FromThreadName(const char* name) { in FromThreadName() argument
56 static StackFrame FromProgramCounter(const void* pc) { in FromProgramCounter() argument
64 bool BASE_EXPORT operator < (const StackFrame& lhs, const StackFrame& rhs); argument
65 bool BASE_EXPORT operator == (const StackFrame& lhs, const StackFrame& rhs);
66 bool BASE_EXPORT operator != (const StackFrame& lhs, const StackFrame& rhs);
75 StackFrame frames[kMaxFrameCount];
115 struct BASE_EXPORT hash<base::trace_event::StackFrame> {
116 size_t operator()(const base::trace_event::StackFrame& frame) const;
Dheap_profiler_stack_frame_deduplicator.cc21 StackFrameDeduplicator::FrameNode::FrameNode(StackFrame frame, in FrameNode()
34 int StackFrameDeduplicator::Insert(const StackFrame* beginFrame, in Insert()
35 const StackFrame* endFrame) { in Insert()
37 std::map<StackFrame, int>* nodes = &roots_; in Insert()
40 for (const StackFrame* it = beginFrame; it != endFrame; it++) { in Insert()
41 StackFrame frame = *it; in Insert()
87 const StackFrame& frame = frame_node->frame; in AppendAsTraceFormat()
89 case StackFrame::Type::TRACE_EVENT_NAME: in AppendAsTraceFormat()
93 case StackFrame::Type::THREAD_NAME: in AppendAsTraceFormat()
99 case StackFrame::Type::PROGRAM_COUNTER: in AppendAsTraceFormat()
Dheap_profiler_allocation_context.cc15 bool operator < (const StackFrame& lhs, const StackFrame& rhs) { in operator <()
19 bool operator == (const StackFrame& lhs, const StackFrame& rhs) { in operator ==()
23 bool operator != (const StackFrame& lhs, const StackFrame& rhs) { in operator !=()
57 using base::trace_event::StackFrame;
59 size_t hash<StackFrame>::operator()(const StackFrame& frame) const { in operator ()()
Dheap_profiler_stack_frame_deduplicator.h33 FrameNode(StackFrame frame, int parent_frame_index);
39 StackFrame frame;
46 std::map<StackFrame, int> children;
58 int Insert(const StackFrame* beginFrame, const StackFrame* endFrame);
72 std::map<StackFrame, int> roots_;
/external/google-breakpad/src/google_breakpad/processor/
Dstack_frame.h42 struct StackFrame { struct
57 StackFrame() in StackFrame() argument
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 {
/external/v8/src/
Dmacro-assembler.h71 explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) in FrameScope()
74 if (type != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameScope()
80 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in ~FrameScope()
92 DCHECK(type_ != StackFrame::MANUAL && type_ != StackFrame::NONE); in GenerateLeaveFrame()
98 StackFrame::Type type_;
104 FrameAndConstantPoolScope(MacroAssembler* masm, StackFrame::Type type) in FrameAndConstantPoolScope()
114 if (type_ != StackFrame::MANUAL && type_ != StackFrame::NONE) { in FrameAndConstantPoolScope()
133 DCHECK(type_ != StackFrame::MANUAL && type_ != StackFrame::NONE); in GenerateLeaveFrame()
139 StackFrame::Type type_;
174 : FrameScope(masm, StackFrame::NONE) { } in AllowExternalCallThatCantCauseGC()
Dframes-inl.h55 inline StackFrame::StackFrame(StackFrameIteratorBase* iterator) in StackFrame() function
60 inline StackHandler* StackFrame::top_handler() const { in top_handler()
65 inline Code* StackFrame::LookupCode() const { in LookupCode()
72 inline Code* StackFrame::GetContainingCode(Isolate* isolate, Address pc) { in GetContainingCode()
77 inline Address* StackFrame::ResolveReturnAddressLocation(Address* pc_address) { in ResolveReturnAddressLocation()
89 : StackFrame(iterator) { in EntryFrame()
100 : StackFrame(iterator) { in ExitFrame()
134 : StackFrame(iterator) { in StandardFrame()
171 return frame_type == StackFrame::TypeToMarker(StackFrame::ARGUMENTS_ADAPTOR); in IsArgumentsAdaptorFrame()
178 return frame_type == StackFrame::TypeToMarker(StackFrame::CONSTRUCT); in IsConstructFrame()
[all …]
Dframes.h416 class StackFrame BASE_EMBEDDED {
495 StackFrame(const StackFrame& original) { in StackFrame() function
613 void operator=(const StackFrame& original) = delete;
616 inline explicit StackFrame(StackFrameIteratorBase* iterator);
617 virtual ~StackFrame() { } in ~StackFrame()
657 class EntryFrame: public StackFrame {
666 static EntryFrame* cast(StackFrame* frame) { in cast()
694 static EntryConstructFrame* cast(StackFrame* frame) { in cast()
708 class ExitFrame: public StackFrame {
721 static ExitFrame* cast(StackFrame* frame) { in cast()
[all …]
Dframes.cc26 StackFrame::return_address_location_resolver_ = NULL;
33 StackHandlerIterator(const StackFrame* frame, StackHandler* handler) in StackHandlerIterator()
82 StackFrame::State state; in Advance()
83 StackFrame::Type type = frame_->GetCallerState(&state); in Advance()
100 StackFrame::State state; in Reset()
101 StackFrame::Type type = ExitFrame::GetStateForFramePointer( in Reset()
108 StackFrame* StackFrameIteratorBase::SingletonFor(StackFrame::Type type, in SingletonFor()
109 StackFrame::State* state) { in SingletonFor()
110 StackFrame* result = SingletonFor(type); in SingletonFor()
111 DCHECK((!result) == (type == StackFrame::NONE)); 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_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_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_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_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()
/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/swiftshader/third_party/LLVM/lib/Support/Windows/
DSignals.inc348 STACKFRAME64 StackFrame;
349 memset(&StackFrame, 0, sizeof(StackFrame));
354 StackFrame.AddrPC.Offset = ep->ContextRecord->Rip;
355 StackFrame.AddrPC.Mode = AddrModeFlat;
356 StackFrame.AddrStack.Offset = ep->ContextRecord->Rsp;
357 StackFrame.AddrStack.Mode = AddrModeFlat;
358 StackFrame.AddrFrame.Offset = ep->ContextRecord->Rbp;
359 StackFrame.AddrFrame.Mode = AddrModeFlat;
362 StackFrame.AddrPC.Offset = ep->ContextRecord->Eip;
363 StackFrame.AddrPC.Mode = AddrModeFlat;
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc225 STACKFRAME64 StackFrame = StackFrameOrig;
236 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
239 if (StackFrame.AddrFrame.Offset == 0)
241 StackTrace[Depth++] = (void *)(uintptr_t)StackFrame.AddrPC.Offset;
294 HANDLE hThread, STACKFRAME64 &StackFrame,
303 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
309 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
315 if (StackFrame.AddrFrame.Offset == 0)
320 DWORD64 PC = StackFrame.AddrPC.Offset;
330 StackFrame.Params[0], StackFrame.Params[1], StackFrame.Params[2],
[all …]
/external/llvm/lib/Support/Windows/
DSignals.inc224 STACKFRAME64 StackFrame = StackFrameOrig;
235 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
238 if (StackFrame.AddrFrame.Offset == 0)
240 StackTrace[Depth++] = (void *)(uintptr_t)StackFrame.AddrPC.Offset;
293 HANDLE hThread, STACKFRAME64 &StackFrame,
302 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
308 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
314 if (StackFrame.AddrFrame.Offset == 0)
319 DWORD64 PC = StackFrame.AddrPC.Offset;
329 StackFrame.Params[0], StackFrame.Params[1], StackFrame.Params[2],
[all …]

12345678910