MCPcopy Create free account
hub / github.com/apache/arrow / PrintBackTrace

Method PrintBackTrace

cpp/src/arrow/util/logging.cc:101–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99 std::ostringstream buffer_;
100
101 void PrintBackTrace() {
102#ifdef ARROW_WITH_BACKTRACE
103 void* buffer[255];
104 const auto calls =
105 backtrace(buffer, static_cast<int>(sizeof(buffer) / sizeof(void*)));
106 backtrace_symbols_fd(buffer, calls, 1);
107#endif
108 }
109};
110
111#ifdef ARROW_USE_GLOG

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected