/llvm-project/llvm/test/DebugInfo/ |
H A D | dwarfdump-debug-frame-simple.test | 1 …vm-dwarfdump %p/Inputs/dwarfdump-test-32bit.elf.o --debug-frame | FileCheck %s -check-prefix FRAMES 5 ; FRAMES: .debug_frame 7 ; FRAMES: 00000000 00000010 ffffffff CIE 8 ; FRAMES: Version: 1 9 ; FRAMES: DW_CFA_def_cfa: {{reg4|ESP}} +4 10 ; FRAMES-NEXT: DW_CFA_offset: {{reg8|EIP}} -4 11 ; FRAMES-NEXT: DW_CFA_nop: 12 ; FRAMES-NEXT: DW_CFA_nop: 14 ; FRAMES: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022 15 ; FRAMES: DW_CFA_advance_loc: 3 to 0x3 [all …]
|
/llvm-project/lldb/test/API/tools/lldb-dap/stackTrace/ |
H A D | TestDAP_stackTrace.py | 18 # stackTrace additioanl frames for paginated traces 83 # Verify we get all stack frames with no arguments 87 frameCount, 40, "verify we get at least 40 frames for all frames" 92 "verify total frames returns a speculative page size", 96 # Verify totalFrames contains a speculative page size of additional frames with startFrame = 0 and levels = 0 100 self.assertEqual(len(stackFrames), 10, "verify we get levels=10 frames") 104 "verify total frames returns a speculative page size", 108 # Verify all stack frames by specifying startFrame = 0 and levels not 114 ("verify same number of frames wit [all...] |
/llvm-project/lldb/include/lldb/Target/ |
H A D | StackFrameList.h | 31 /// Get the number of visible frames. Frames may be created if \p can_create 32 /// is true. Synthetic (inline) frames expanded from the concrete frame #0 33 /// (aka invisible frames) are not included in this count. 36 /// Get the frame at index \p idx. Invisible frames cannot be indexed. 61 /// \p idx. Like \ref GetFrameAtIndex, invisible frames cannot be selected. 64 /// If the current inline depth (i.e the number of invisible frames) is valid, 74 /// the StackFrameList's set of inline frames when execution stops, e.g when 83 /// Clear the cache of frames. 98 /// Returns whether we have currently fetched all the frames o [all...] |
/llvm-project/lldb/bindings/interface/ |
H A D | SBThreadExtensions.i | 12 '''Iterate over all frames in a lldb.SBThread object.''' 16 '''Return the number of frames in a lldb.SBThread object.''' 20 '''A helper object that will lazily hand out frames for a thread when supplied an index.''' 42 '''An accessor function that returns a list() that contains all frames in a lldb.SBThread object.''' 43 frames = [] 45 frames.append(frame) 46 return frames 66 num_frames = property(GetNumFrames, None, doc='''A read only property that returns the number of stack frames in this thread as an integer.''') 67 frames = property(get_thread_frames, None, doc='''A read only property that returns a list() of lldb.SBFrame objects for all frames i [all...] |
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/dextIR/ |
H A D | StepIR.py | 50 frames: List[FrameIR], 60 if frames is None: 61 frames = [] 62 self.frames = frames 90 return len(self.frames) 94 if not len(self.frames): 96 return self.frames[0]
|
H A D | ProgramState.py | 104 def __init__(self, frames: List[StackFrame] = None): 105 self.frames = frames 111 enumerate(self.frames), 122 if self.frames: 123 for idx, frame in enumerate(self.frames): 125 if not frame.match(other.frames[idx]):
|
/llvm-project/lldb/source/Target/ |
H A D | StackFrameList.cpp | 164 LLDB_LOG(log, "Finding frames between {0} and {1}, retn-pc={2:x}", in ResetCurrentInlinedDepth() 256 /// tail call frames between the current end of the list and \p next_frame. 257 /// If any frames are added, adjust the frame index of \p next_frame. 260 /// | ... | <- Completed frames. in FindInterveningFrames() 264 /// | ... | <- Artificial frames inserted here. in FindInterveningFrames() 268 /// | ... | <- Not-yet-visited frames. in FindInterveningFrames() 271 // Cannot synthesize tail call frames when the stack is empty (there is no in FindInterveningFrames() 289 // objects are needed to search the lazy call graph for intervening frames. in FindInterveningFrames() 314 // Push synthetic tail call frames. in FindInterveningFrames() 336 // If any frames wer in FindInterveningFrames() [all...] |
/llvm-project/openmp/libompd/gdb-plugin/ompd/ |
H A D | frame_filter.py | 98 """Prints master frames for worker thread with id past_thread_num.""" 115 """Iterates through frames and only returns those that are relevant to the application 123 self.frames = self.curr_task.get_task_frame() 127 "Thread %d is no OpenMP thread, printing all frames:" % curr_thread_num 152 (ompd_enter_frame, ompd_exit_frame) = self.frames 179 self.frames = self.curr_task.get_task_frame() 217 self.frames = self.curr_task.get_task_frame() 218 (enter_frame, exit_frame) = self.frames 239 self.frames = self.curr_task.get_task_frame() 257 (ompd_enter_frame, ompd_exit_frame) = self.frames [all …]
|
/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_stack_store_test.cpp | 28 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()
|
/llvm-project/lldb/test/API/functionalities/unwind/aarch64_unwind_pac/ |
H A D | TestAArch64UnwindPAC.py | 56 # Strictly check frames that are in the test program's source. 57 for frame_idx, frame in enumerate(thread.frames[: len(backtrace)]): 65 # After the program comes some libc frames. The number varies by 67 # skipping frames in between. 69 for frame_idx, frame in enumerate(thread.frames[start_idx:], start=start_idx): 74 self.assertFalse(libc_backtrace, "Did not find expected libc frames.")
|
/llvm-project/lldb/test/API/functionalities/asan/ |
H A D | TestMemoryHistory.py | 79 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 86 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 95 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 162 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 166 history_thread.frames[1].GetLineEntry().GetLine(), self.line_free 172 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 176 history_thread.frames[1].GetLineEntry().GetLine(), self.line_malloc 184 history_thread.frames[1].GetLineEntry().GetFileSpec().GetFilename(), 188 history_thread.frames[1].GetLineEntry().GetLine(), self.line_malloc
|
/llvm-project/lldb/examples/interposing/darwin/fd_interposing/ |
H A D | FDInterposing.cpp | 136 typedef std::vector<void *> Frames; typedef 138 typedef std::vector<void *> Frames; typedef 151 const Frames &frames) in FDEvent() argument 152 : m_string_sp(string_sp), m_frames(frames.begin(), frames.end()), in FDEvent() 161 Frames &GetFrames() { return m_frames; } in GetFrames() 163 const Frames &GetFrames() const { return m_frames; } in GetFrames() 179 // The frames for the stack backtrace for this event 180 Frames m_frames; 287 static inline size_t get_backtrace(Frames &frame_buffer, in get_backtrace() 289 void *frames[2048]; in get_backtrace() local [all …]
|
/llvm-project/llvm/test/MC/ELF/ |
H A D | cfi-offset.s | 3 // RUN: llvm-objdump --dwarf=frames %t | FileCheck %s --check-prefix=FRAMES 56 // FRAMES: DW_CFA_offset: reg6 -24 57 // FRAMES-NEXT: DW_CFA_offset: reg49 -16 58 // FRAMES-NEXT: DW_CFA_offset: reg59 -8 59 // FRAMES-NEXT: DW_CFA_offset: reg58 0
|
/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProf.cpp | 309 // - the frames in the given call stack in the root-to-leaf order in deserializeV3() 325 // while collecting frames in the leaf to root order. build, the caller of this 328 // length followed by the frames in the leaf-to-root order except that we need in deserialize() 332 // Indexes caches the indexes of the previous call stack's frames within in deserialize() 415 // comparing the popularity of frames rather than the integer values of 439 // Popular frames should come later because we encode call stacks from 499 // stack frames proper just like any other array deserialization, except in build() 81 for (const auto &Frames : Record.CallSites) { serializedSizeV0() local 147 for (const auto &Frames : Record.CallSites) { serializeV0() local 244 llvm::SmallVector<FrameId> Frames; deserializeV0() local
|
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | DebugFrameDataSubsection.h | 35 FixedStreamArray<FrameData>::Iterator begin() const { return Frames.begin(); } in begin() 36 FixedStreamArray<FrameData>::Iterator end() const { return Frames.end(); } in end() 42 FixedStreamArray<FrameData> Frames; variable 58 void setFrames(ArrayRef<FrameData> Frames); 62 std::vector<FrameData> Frames; variable
|
/llvm-project/lldb/examples/python/ |
H A D | crashlog_scripted_process.py | 146 frames = [] 147 for frame in thread.frames: 154 frames.append({"idx": frame.index, "pc": pc}) 155 return frames 161 if not self.backing_thread or not len(self.backing_thread.frames): 164 self.frames = CrashLogScriptedThread.resolve_stackframes( 168 return self.frames
|
/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugFrameDataSubsection.cpp | 28 if (auto EC = Reader.readArray(Frames, Count)) in initialize() 39 uint32_t Size = sizeof(FrameData) * Frames.size(); in calculateSerializedSize() 51 std::vector<FrameData> SortedFrames(Frames.begin(), Frames.end()); in commit() 61 Frames.push_back(Frame); in addFrameData()
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/command/commands/ |
H A D | DexExpectProgramState.py | 25 if "frames" in source: 26 assert isinstance(source["frames"], list) 27 source["frames"] = list(map(frame_from_dict, source["frames"])) 62 for idx, frame in enumerate(self.expected_program_state.frames):
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/ |
H A D | probe_process.py | 66 def main_on_stack(Symbols, frames): argument 69 for x in frames: 76 # Fetch the state of the program -- represented by the stack frames. 77 frames, numframes = Client.Control.GetStackTraceEx() 79 the_frames = [Frame(frames[x], x, Client.Symbols) for x in range(numframes)]
|
/llvm-project/openmp/libompd/gdb-plugin/ |
H A D | README.txt | 33 …frames to a large extent, displaying only the user application frames. When ‘ompd bt on continued’… 34 …tep -- Executes "step" command into user application frames, skipping OpenMP runtime frames as…
|
/llvm-project/lldb/test/API/lang/c/step-target/ |
H A D | TestStepTarget.py | 56 frame = thread.frames[0] 68 frame = thread.frames[0] 80 frame = thread.frames[0] 95 frame = thread.frames[0] 110 frame = thread.frames[0]
|
/llvm-project/lldb/scripts/android/ |
H A D | host_art_bt.py | 42 # Skip art frames 80 # Skip native frames 119 # Skip art frames 153 # Skip native frames 198 # Skip art frames 254 # Skip native frames 258 print("Can not get past interpreter native frames") 266 # Other frames. Add them as-is.
|
/llvm-project/llvm/include/llvm/DebugInfo/ |
H A D | DIContext.h | 95 SmallVector<DILineInfo, 4> Frames; 100 /// Returns the frame at `Index`. Frames are stored in bottom-up in getFrame() 103 assert(Index < Frames.size()); in getFrame() 104 return Frames[Index]; 108 assert(Index < Frames.size()); in getMutableFrame() 109 return &Frames[Index]; 112 uint32_t getNumberOfFrames() const { return Frames.size(); } in addFrame() 114 void addFrame(const DILineInfo &Frame) { Frames.push_back(Frame); } in resize() 116 void resize(unsigned i) { Frames.resize(i); } 93 SmallVector<DILineInfo, 4> Frames; global() variable
|
/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | MemProf.h | 35 // frames and call stacks. 334 // Holds allocation information in a space efficient format where frames are 437 // translate CallStackId to call stacks with frames inline. 468 for (const std::vector<Frame> &Frames : CallSites) { 469 for (const Frame &F : Frames) { 708 // Emit the frames. We do not explicitly emit the length of the vector 751 // Derive the number of frames from the data length. 819 std::vector<Frame> Frames; 826 Frames.reserve(CS.size()); 828 Frames 486 std::vector<Frame> Frames; MemProfRecord() local 504 for (const std::vector<Frame> &Frames : CallSites) { print() local 858 std::vector<Frame> Frames; operator() local 900 std::vector<Frame> Frames; operator() local 936 llvm::MapVector<FrameId, Frame> Frames; global() member [all...] |
/llvm-project/llvm/test/MC/MachO/AArch64/ |
H A D | emit-dwarf-unwind.s | 3 // RUN: llvm-objdump --macho --dwarf=frames %t/x86_64.o | FileCheck %s --check-prefix TWO-FDES 5 // RUN: llvm-objdump --macho --dwarf=frames %t/arm64.o | FileCheck %s --check-prefix ONE-FDE 7 // RUN: llvm-objdump --macho --dwarf=frames %t/x86_64-no-dwarf.o | FileCheck %s --check-prefix ONE-… 9 // RUN: llvm-objdump --macho --dwarf=frames %t/arm64-dwarf.o | FileCheck %s --check-prefix TWO-FDES
|