/llvm-project/compiler-rt/test/asan/TestCases/ |
H A D | debug_stacks.cpp | 35 size_t num_frames = 100; in main() local 37 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); in main() 39 fprintf(stderr, "alloc stack retval %s\n", (num_frames > 0 && num_frames < 10) in main() 49 num_frames = 100; in main() 50 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); in main() 52 fprintf(stderr, "free stack retval %s\n", (num_frames > 0 && num_frames < 1 in main() [all...] |
/llvm-project/compiler-rt/test/tsan/ |
H A D | debug_alloc_stack.cpp | 50 size_t num_frames = 100; in main() local 53 num_frames = in main() 54 __tsan_get_alloc_stack(mem, trace, num_frames, &thread_id, &thread_os_id); in main() 57 (num_frames > 0 && num_frames < 10) ? "ok" : ""); in main()
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ |
H A D | DextIR.py | 93 and s.num_frames == step.num_frames 110 if prev_step.num_frames < step.num_frames: 113 if prev_step.num_frames > step.num_frames:
|
H A D | StepIR.py | 86 return "{}{}".format(". " * (self.num_frames - 1), json.dumps(step_info)) 89 def num_frames(self): member in StepIR
|
/llvm-project/lldb/test/API/functionalities/asan/ |
H A D | TestMemoryHistory.py | 77 self.assertTrue(history_thread.num_frames >= 2) 84 self.assertTrue(history_thread.num_frames >= 2) 93 self.assertTrue(history_thread.num_frames >= 2) 160 self.assertGreaterEqual(history_thread.num_frames, 2) 170 self.assertGreaterEqual(history_thread.num_frames, 2) 182 self.assertGreaterEqual(history_thread.num_frames, 2)
|
/llvm-project/lldb/examples/darwin/heap_find/heap/ |
H A D | heap_find.cpp | 184 uint32_t num_frames; member 276 m_entries[m_size].num_frames = 0; in data() 673 stack_entry->num_frames = 0; in get_stack_for_address_enumerator() 677 MAX_FRAMES, &stack_entry->num_frames); in get_stack_for_address_enumerator() 679 if (stack_entry->num_frames < MAX_FRAMES) in get_stack_for_address_enumerator() 680 stack_entry->frames[stack_entry->num_frames] = 0; in get_stack_for_address_enumerator() 700 stack_entry->num_frames = 0; in get_stack_history_for_address() 704 &stack_entry->num_frames); in get_stack_history_for_address() 705 if (err == 0 && stack_entry->num_frames > 0) { in get_stack_history_for_address() 707 if (stack_entry->num_frames < MAX_FRAMES) in get_stack_history_for_address() [all …]
|
/llvm-project/lldb/test/API/functionalities/bt-interrupt/ |
H A D | TestInterruptBacktrace.py | 46 num_frames = thread.GetNumFrames() 48 self.assertGreater(num_frames, 1, "Got many frames")
|
/llvm-project/lldb/tools/debugserver/source/MacOSX/ |
H A D | stack_logging.h |
|
/llvm-project/lldb/test/API/api/multithreaded/ |
H A D | test_listener_event_process_state.cpp.template | 45 uint32_t num_frames = thread.GetNumFrames(); 46 for(int j = 0; j < num_frames; ++j) {
|
/llvm-project/lldb/source/Target/ |
H A D | StackFrameList.cpp | 386 uint32_t num_frames = unwinder.GetFramesUpTo(end_idx); in SynthesizeTailCallFrames() 387 if (num_frames <= end_idx + 1) { in SynthesizeTailCallFrames() 394 m_frames.resize(num_frames); in SynthesizeTailCallFrames() 875 uint32_t num_frames, bool show_frame_info, in SetSelectedFrameByIndex() 881 if (num_frames == 0) in SetDefaultFileAndLineToSelectedFrame() 889 if (num_frames == UINT32_MAX) in SetDefaultFileAndLineToSelectedFrame() 892 last_frame = first_frame + num_frames; in SetDefaultFileAndLineToSelectedFrame() 235 uint32_t num_frames = unwinder.GetFramesUpTo(end_idx); GetOnlyConcreteFramesUpTo() local 925 GetStatus(Stream & strm,uint32_t first_frame,uint32_t num_frames,bool show_frame_info,uint32_t num_frames_with_source,bool show_unique,const char * selected_frame_marker) GetStatus() argument
|
H A D | UnwindLLDB.cpp | 460 const uint32_t num_frames = m_frames.size(); in DoCreateRegisterContextForFrame() local 461 if (idx < num_frames) { in DoCreateRegisterContextForFrame()
|
H A D | Thread.cpp | 1764 uint32_t num_frames, uint32_t num_frames_with_source, in GetStatus() 1798 if (num_frames > 0) { in GetDescription() 1804 if (num_frames == 1 || only_stacks || in GetDescription() 1811 strm, start_frame, num_frames, show_frame_info, num_frames_with_source, in GetDescription() 1813 if (num_frames == 1) in GetDescription() 1909 uint32_t num_frames, bool show_frame_info, in IsStillAtLastBreakpointHit() 1912 return GetStackFrameList()->GetStatus(strm, first_frame, num_frames, in IsStillAtLastBreakpointHit() 1737 GetStatus(Stream & strm,uint32_t start_frame,uint32_t num_frames,uint32_t num_frames_with_source,bool stop_format,bool only_stacks) GetStatus() argument 1882 GetStackFrameStatus(Stream & strm,uint32_t first_frame,uint32_t num_frames,bool show_frame_info,uint32_t num_frames_with_source) GetStackFrameStatus() argument
|
H A D | Process.cpp | 913 const uint32_t num_frames = 1; in HandleProcessStateChangedEvent() 919 start_frame, num_frames, in HandleProcessStateChangedEvent() 5764 uint32_t start_frame, uint32_t num_frames, in GetThreadStatus() 5795 thread_sp->GetStatus(strm, start_frame, num_frames, in GetThreadStatus() 5797 /*show_hidden*/ num_frames <= 1); in GetThreadStatus() 933 const uint32_t num_frames = 1; HandleProcessStateChangedEvent() local 5757 GetThreadStatus(Stream & strm,bool only_threads_with_stop_reason,uint32_t start_frame,uint32_t num_frames,uint32_t num_frames_with_source,bool stop_format) GetThreadStatus() argument
|
/llvm-project/lldb/test/API/lang/objc/exceptions/ |
H A D | TestObjCExceptions.py | 203 self.assertGreaterEqual(history_thread.num_frames, 4) 232 self.assertGreaterEqual(history_thread.num_frames, 4)
|
/llvm-project/lldb/test/API/macosx/function-starts/ |
H A D | TestFunctionStarts.py | 77 self.assertGreater(thread.num_frames, 1, "Couldn't backtrace.")
|
/llvm-project/lldb/bindings/interface/ |
H A D | SBThreadExtensions.i | 66 num_frames = property(GetNumFrames, None, doc='''A read only property that returns the number of stack frames in this thread as an integer.''')
|
/llvm-project/lldb/include/lldb/Target/ |
H A D | StackFrameList.h | 93 size_t GetStatus(Stream &strm, uint32_t first_frame, uint32_t num_frames,
|
H A D | Thread.h | 1132 size_t GetStatus(Stream &strm, uint32_t start_frame, uint32_t num_frames, 1137 uint32_t num_frames, bool show_frame_info,
|
/llvm-project/lldb/test/API/python_api/thread/ |
H A D | TestThreadAPI.py | 307 pos_range = range(thread.num_frames) 308 neg_range = range(thread.num_frames, 0, -1)
|
/llvm-project/lldb/source/Commands/ |
H A D | CommandObjectFrame.cpp | 329 const uint32_t num_frames = thread->GetStackFrameCount(); in DoExecute() 330 if (static_cast<int32_t>(num_frames - frame_idx) > in DoExecute() 334 if (frame_idx == num_frames - 1) { in DoExecute() 340 frame_idx = num_frames - 1; in DoExecute() 306 const uint32_t num_frames = thread->GetStackFrameCount(); DoExecute() local
|
H A D | CommandObjectProcess.cpp | 1408 const uint32_t num_frames = 1; in DoExecute() 1413 num_frames, num_frames_with_source, stop_format); in DoExecute() 1401 const uint32_t num_frames = 1; DoExecute() local
|
H A D | CommandObjectThread.cpp | 1258 const uint32_t num_frames = 0; 1262 num_frames, num_frames_with_source, false); 1252 const uint32_t num_frames = 0; DoExecute() local
|
/llvm-project/lldb/examples/python/ |
H A D | lldbtk.py | 84 num_frames = self.thread.GetNumFrames() 87 summary = "%u frames" % (num_frames) 92 "children": num_frames > 0,
|
/llvm-project/lldb/source/API/ |
H A D | SBThread.cpp | 1100 uint32_t num_frames = 0; in GetNumFrames() 1107 num_frames = exe_ctx.GetThreadPtr()->GetStackFrameCount(); in GetFrameAtIndex() 1111 return num_frames; in GetFrameAtIndex() 1088 uint32_t num_frames = 0; GetNumFrames() local
|
/llvm-project/lldb/docs/use/ |
H A D | formatting.rst | 289 return "Thread %s has %d frames\n" % (thread.name, thread.num_frames)
|