Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 179) sorted by relevance

12345678

/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/dextIR/
H A DStepIR.py49 frames: List[FrameIR],
58 if frames is None:
59 frames = []
60 self.frames = frames
83 return len(self.frames)
87 if not len(self.frames):
89 return self.frames[0]
H A DProgramState.py95 def __init__(self, frames: List[StackFrame] = None):
96 self.frames = frames
101 enumerate(self.frames)))
110 if self.frames:
111 for idx, frame in enumerate(self.frames):
113 if not frame.match(other.frames[idx]):
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stack_store_test.cpp28 std::vector<uptr> frames(kStackTraceMax); in ForEachTrace() local
29 std::iota(frames.begin(), frames.end(), 0x100000); in ForEachTrace()
36 StackTrace s(frames.data(), size, tag); in ForEachTrace()
42 std::next_permutation(frames.begin(), frames.end()); in ForEachTrace()
184 std::vector<uptr> frames(200); in TEST_P() local
185 for (uptr i = 0; i < kBlockSizeFrames * 4 / frames.size(); ++i) { in TEST_P()
186 for (uptr& f : frames) { in TEST_P()
192 store_.Store(StackTrace(frames.data(), frames.size()), &pack); in TEST_P()
H A Dsanitizer_stackdepot_test.cpp178 std::vector<uptr> frames(64); in TEST_P() local
180 std::iota(frames.begin(), frames.end(), idx + 1); in TEST_P()
182 StackTrace s(frames.data(), frames.size()); in TEST_P()
186 std::next_permutation(frames.begin(), frames.end()); in TEST_P()
/llvm-project-15.0.7/lldb/test/API/functionalities/asan/
H A DTestMemoryHistory.py82 self.assertEqual(history_thread.frames[1].GetLineEntry(
85 history_thread.frames[1].GetLineEntry().GetLine(),
90 self.assertEqual(history_thread.frames[1].GetLineEntry(
93 history_thread.frames[1].GetLineEntry().GetLine(),
100 self.assertEqual(history_thread.frames[1].GetLineEntry(
103 history_thread.frames[1].GetLineEntry().GetLine(),
/llvm-project-15.0.7/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp152 : m_string_sp(string_sp), m_frames(frames.begin(), frames.end()), in FDEvent()
289 void *frames[2048]; in get_backtrace() local
290 int count = ::backtrace(&frames[0], sizeof(frames) / sizeof(void *)); in get_backtrace()
292 frame_buffer.assign(&frames[frames_to_remove], &frames[count]); in get_backtrace()
294 frame_buffer.assign(&frames[0], &frames[count]); in get_backtrace()
441 Frames frames; in backtrace_log() local
443 ::backtrace_symbols_fd(frames.data(), frames.size(), log_fd); in backtrace_log()
461 Frames frames; in backtrace_error() local
463 ::backtrace_symbols_fd(frames.data(), frames.size(), log_fd); in backtrace_error()
470 Frames frames; in save_backtrace() local
[all …]
/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_suppressions.cpp84 SymbolizedStack *frames = symbolizer->SymbolizePC(addr); in IsStackTraceSuppressed() local
85 CHECK(frames); in IsStackTraceSuppressed()
86 for (SymbolizedStack *cur = frames; cur; cur = cur->next) { in IsStackTraceSuppressed()
94 frames->ClearAll(); in IsStackTraceSuppressed()
98 frames->ClearAll(); in IsStackTraceSuppressed()
/llvm-project-15.0.7/lldb/test/API/lang/c/step-target/
H A DTestStepTarget.py58 frame = thread.frames[0]
70 frame = thread.frames[0]
81 frame = thread.frames[0]
97 frame = thread.frames[0]
113 frame = thread.frames[0]
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Darwin/
H A Dcrashlog-stacktraces.c18 int i, frames = backtrace(callstack, 128); in death_function() local
19 char** strs = backtrace_symbols(callstack, frames); in death_function()
20 for (i = 0; i < frames; ++i) { in death_function()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dprobe_process.py64 def main_on_stack(Symbols, frames): argument
67 for x in frames:
74 frames, numframes = Client.Control.GetStackTraceEx()
76 the_frames = [Frame(frames[x], x, Client.Symbols) for x in range(numframes)]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_report.cpp108 if (ent == 0 || ent->frames == 0) { in PrintStack()
112 SymbolizedStack *frame = ent->frames; in PrintStack()
300 static SymbolizedStack *SkipTsanInternalFrames(SymbolizedStack *frames) { in SkipTsanInternalFrames() argument
301 while (FrameIsInternal(frames) && frames->next) in SkipTsanInternalFrames()
302 frames = frames->next; in SkipTsanInternalFrames()
303 return frames; in SkipTsanInternalFrames()
374 if (SymbolizedStack *frame = SkipTsanInternalFrames(stack->frames)) in PrintReport()
389 if (ent == 0 || ent->frames == 0) { in PrintStack()
393 SymbolizedStack *frame = ent->frames; in PrintStack()
H A Dtsan_debugging.cpp86 if (rep->sleep) CopyTrace(rep->sleep->frames, sleep_trace, trace_size); in __tsan_get_report_data()
103 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack()
119 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop()
138 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc()
161 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex()
177 if (thread->stack) CopyTrace(thread->stack->frames, trace, trace_size); in __tsan_get_report_thread()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_report.cpp108 if (ent == 0 || ent->frames == 0) { in PrintStack()
112 SymbolizedStack *frame = ent->frames; in PrintStack()
294 static SymbolizedStack *SkipTsanInternalFrames(SymbolizedStack *frames) { in SkipTsanInternalFrames() argument
295 while (FrameIsInternal(frames) && frames->next) in SkipTsanInternalFrames()
296 frames = frames->next; in SkipTsanInternalFrames()
297 return frames; in SkipTsanInternalFrames()
371 if (SymbolizedStack *frame = SkipTsanInternalFrames(stack->frames)) in PrintReport()
386 if (ent == 0 || ent->frames == 0) { in PrintStack()
390 SymbolizedStack *frame = ent->frames; in PrintStack()
H A Dtsan_debugging.cpp86 if (rep->sleep) CopyTrace(rep->sleep->frames, sleep_trace, trace_size); in __tsan_get_report_data()
103 if (stack) CopyTrace(stack->frames, trace, trace_size); in __tsan_get_report_stack()
119 if (mop->stack) CopyTrace(mop->stack->frames, trace, trace_size); in __tsan_get_report_mop()
138 if (loc->stack) CopyTrace(loc->stack->frames, trace, trace_size); in __tsan_get_report_loc()
161 if (mutex->stack) CopyTrace(mutex->stack->frames, trace, trace_size); in __tsan_get_report_mutex()
177 if (thread->stack) CopyTrace(thread->stack->frames, trace, trace_size); in __tsan_get_report_thread()
/llvm-project-15.0.7/mlir/lib/IR/
H A DLocation.cpp75 CallSiteLoc CallSiteLoc::get(Location name, ArrayRef<Location> frames) { in get() argument
76 assert(!frames.empty() && "required at least 1 call frame"); in get()
77 Location caller = frames.back(); in get()
78 for (auto frame : llvm::reverse(frames.drop_back())) in get()
/llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/
H A Dparser_json.test38 …('[{"triggered":true,"id":3835,"queue":"com.apple.bwgraph.devicevendor","frames":[[0,101472],[0,40…
42 assert len(parser.crashlog.threads[0].frames) == 2
43 assert parser.crashlog.threads[0].frames[0].pc == 7309839456
44 assert parser.crashlog.threads[0].frames[0].description == 101472
/llvm-project-15.0.7/lldb/test/API/functionalities/unwind/noreturn/
H A DTestNoreturnUnwind.py42 for f in thread.frames:
50 for f in thread.frames:
56 if abort_frame_number == len(thread.frames):
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/
H A DLLDB.py190 frames = []
222 frames.append(frame)
241 if len(frames) == 1 and frames[0].function is None:
242 frames = []
248 step_index=step_index, frames=frames, stop_reason=reason,
/llvm-project-15.0.7/lldb/test/API/functionalities/thread/step_out/
H A DTestThreadStepOut.py50 zeroth_frame = self.step_out_thread.frames[0]
65 other_threads[thread.GetIndexID()] = thread.frames[0].line_entry
75 …self.assertEqual(thread.frames[0].line_entry.file.basename, line_entry.file.basename, "Thread {0} …
76 …self.assertEqual(thread.frames[0].line_entry.line, line_entry.line, "Thread {0} moved by line".for…
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/
H A DVisualStudio.py285 frames = []
314 frames.append(frame)
316 if frames:
317 frames[0].loc = loc
324 program_state = ProgramState(frames=state_frames)
327 step_index=step_index, frames=frames, stop_reason=reason,
/llvm-project-15.0.7/lldb/test/API/functionalities/conditional_break/
H A Dconditional_break.py22 if (thread.frames[0].function.name ==
23 'c' and thread.frames[1].function.name == 'a'):
/llvm-project-15.0.7/mlir/lib/Analysis/Presburger/
H A DPresburgerRelation.cpp217 SmallVector<Frame, 2> frames; in getSetDifference() local
226 level = frames.size(); in getSetDifference()
230 if (level > frames.size()) { in getSetDifference()
329 frames.push_back(Frame{initialSnapshot, initBCounts, sI, in getSetDifference()
365 level = frames.size(); in getSetDifference()
371 frames.push_back(Frame{simplexSnapshot, bCounts, sI, ineqsToProcess, in getSetDifference()
380 if (level == frames.size()) { in getSetDifference()
381 Frame &frame = frames.back(); in getSetDifference()
400 frames.pop_back(); in getSetDifference()
401 level = frames.size(); in getSetDifference()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_libcdep.cpp35 SymbolizedStack *frames = symbolize_ in ProcessAddressFrames() local
38 if (!frames) in ProcessAddressFrames()
41 for (SymbolizedStack *cur = frames; cur; cur = cur->next) { in ProcessAddressFrames()
53 frames->ClearAll(); in ProcessAddressFrames()
H A Dsanitizer_unwind_linux_libcdep.cpp161 InternalMmapVector<backtrace_frame_t> frames(kStackTraceMax); in UnwindSlow() local
164 frames.data(), in UnwindSlow()
174 trace_buffer[size++] = frames[i].absolute_pc + 2; in UnwindSlow()
/llvm-project-15.0.7/lldb/examples/python/scripted_process/
H A Dcrashlog_scripted_process.py122 if not self.backing_thread or not len(self.backing_thread.frames):
125 for frame in self.backing_thread.frames:
132 self.frames.append({"idx": frame.index, "pc": pc})
134 return self.frames

12345678