Lines Matching defs:FunctionCall
205 DumpSegmentContext(const TraceDumper::FunctionCall::TracedSegment &segment) {
235 void DumpUntracedContext(const TraceDumper::FunctionCall &function_call) {
250 void DumpFunctionCallTree(const TraceDumper::FunctionCall &function_call) {
261 for (const TraceDumper::FunctionCall::TracedSegment &segment :
268 segment.IfNestedCall([&](const TraceDumper::FunctionCall &nested_call) {
325 void DumpFunctionCallTree(const TraceDumper::FunctionCall &function_call) {
337 for (const TraceDumper::FunctionCall::TracedSegment &segment :
345 [&](const TraceDumper::FunctionCall &nested_call) {
590 void TraceDumper::FunctionCall::TracedSegment::AppendInsn(
598 TraceDumper::FunctionCall::TracedSegment::GetFirstInstructionID() const {
603 TraceDumper::FunctionCall::TracedSegment::GetLastInstructionID() const {
607 void TraceDumper::FunctionCall::TracedSegment::IfNestedCall(
608 std::function<void(const FunctionCall &function_call)> callback) const {
613 const TraceDumper::FunctionCall &
614 TraceDumper::FunctionCall::TracedSegment::GetOwningCall() const {
618 TraceDumper::FunctionCall &
619 TraceDumper::FunctionCall::TracedSegment::CreateNestedCall(
622 m_nested_call = std::make_unique<FunctionCall>(cursor_sp, symbol_info);
628 TraceDumper::FunctionCall::TracedSegment::GetFirstInstructionSymbolInfo()
634 TraceDumper::FunctionCall::TracedSegment::GetLastInstructionSymbolInfo() const {
638 const TraceDumper::FunctionCall &
639 TraceDumper::FunctionCall::UntracedPrefixSegment::GetNestedCall() const {
643 TraceDumper::FunctionCall::FunctionCall(
650 void TraceDumper::FunctionCall::AppendSegment(
657 TraceDumper::FunctionCall::GetSymbolInfo() const {
661 bool TraceDumper::FunctionCall::IsError() const { return m_is_error; }
663 const std::deque<TraceDumper::FunctionCall::TracedSegment> &
664 TraceDumper::FunctionCall::GetTracedSegments() const {
668 TraceDumper::FunctionCall::TracedSegment &
669 TraceDumper::FunctionCall::GetLastTracedSegment() {
673 const std::optional<TraceDumper::FunctionCall::UntracedPrefixSegment> &
674 TraceDumper::FunctionCall::GetUntracedPrefixSegment() const {
678 void TraceDumper::FunctionCall::SetUntracedPrefixSegment(
683 TraceDumper::FunctionCall *TraceDumper::FunctionCall::GetParentCall() const {
687 void TraceDumper::FunctionCall::SetParentCall(
688 TraceDumper::FunctionCall &parent_call) {
711 static TraceDumper::FunctionCall &AppendReturnedInstructionToFunctionCallForest(
712 TraceDumper::FunctionCall &last_function_call,
717 TraceDumper::FunctionCall *ancestor = last_function_call.GetParentCall();
735 std::make_unique<TraceDumper::FunctionCall>(cursor_sp, symbol_info);
769 static TraceDumper::FunctionCall &AppendInstructionToFunctionCallForest(
771 TraceDumper::FunctionCall *last_function_call,
778 std::make_unique<TraceDumper::FunctionCall>(cursor_sp, symbol_info));
859 TraceDumper::FunctionCall &AppendErrorToFunctionCallForest(
860 TraceDumper::FunctionCall *last_function_call, TraceCursorSP &cursor_sp,
867 roots.emplace_back(std::make_unique<TraceDumper::FunctionCall>(
880 TraceDumper::FunctionCall *last_function_call = nullptr;