Home
last modified time | relevance | path

Searched refs:frame_info (Results 1 – 6 of 6) sorted by relevance

/system/unwinding/libunwindstack/tests/
DLocalUnwinderTest.cpp54 const std::vector<LocalFrameData>& frame_info) { in ErrorMsg() argument
57 for (const auto& frame : frame_info) { in ErrorMsg()
91 std::vector<LocalFrameData> frame_info; in LocalInnerFunction() local
92 g_frame_info = &frame_info; in LocalInnerFunction()
111 ASSERT_TRUE(unwinder->Unwind(&frame_info, 256)); in LocalInnerFunction()
116 for (auto& frame : frame_info) { in LocalInnerFunction()
125 ASSERT_TRUE(expected_function_names.empty()) << ErrorMsg(expected_function_names, frame_info); in LocalInnerFunction()
188 std::vector<LocalFrameData> frame_info; in TEST_F() local
189 unwind_function(unwinder_.get(), &frame_info); in TEST_F()
196 for (auto& frame : frame_info) { in TEST_F()
[all …]
DUnwindOfflineTest.cpp221 std::string frame_info(DumpFrames(unwinder)); in TEST_F() local
222 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
228 frame_info); in TEST_F()
243 frame_info = DumpFrames(unwinder); in TEST_F()
244 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
252 frame_info); in TEST_F()
261 std::string frame_info(DumpFrames(unwinder)); in TEST_F() local
262 ASSERT_EQ(2U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
269 frame_info); in TEST_F()
282 std::string frame_info(DumpFrames(unwinder)); in TEST_F() local
[all …]
DTestLocal.cpp24 std::vector<unwindstack::LocalFrameData>* frame_info = in TestlibLevel4() local
26 unwinder->Unwind(frame_info, 256); in TestlibLevel4()
/system/unwinding/libunwindstack/
DLocalUnwinder.cpp70 bool LocalUnwinder::Unwind(std::vector<LocalFrameData>* frame_info, size_t max_frames) { in Unwind() argument
115 frame_info->emplace_back(map_info, cur_pc - pc_adjustment, rel_pc - pc_adjustment, in Unwind()
118 frame_info->emplace_back(map_info, cur_pc - pc_adjustment, rel_pc - pc_adjustment, "", 0); in Unwind()
123 if (finished || frame_info->size() == max_frames || in Unwind()
/system/unwinding/libunwindstack/benchmarks/
Dlocal_unwind_benchmarks.cpp80 std::vector<unwindstack::LocalFrameData> frame_info; in LocalUnwind() local
81 unwinder->Unwind(&frame_info, kMaxFrames); in LocalUnwind()
82 return frame_info.size(); in LocalUnwind()
/system/unwinding/libunwindstack/include/unwindstack/
DLocalUnwinder.h67 bool Unwind(std::vector<LocalFrameData>* frame_info, size_t max_frames);