MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / FormatFunctionOfStackFrame

Function FormatFunctionOfStackFrame

oneflow/core/common/error_util.cpp:97–101  ·  view source on GitHub ↗

function info in stack frame

Source from the content-addressed store, hash-verified

95
96// function info in stack frame
97std::string FormatFunctionOfStackFrame(const std::string& function) {
98 std::stringstream ss;
99 ss << " in " << function;
100 return ss.str();
101}
102
103// msg in stack frame
104Maybe<std::string> FormatMsgOfStackFrame(std::string error_msg, bool is_last_stack_frame) {

Callers 1

FormatErrorStrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected