aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/backtrace/backtrace.cpp
blob: 153a0a5dd020a0925ee646591527f748a96a2df2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "backtrace.h"

namespace NYT::NBacktrace {

////////////////////////////////////////////////////////////////////////////////

TString SymbolizeBacktrace(TBacktrace backtrace)
{
    TString result;
    SymbolizeBacktrace(
        backtrace,
        [&] (TStringBuf str) { result += str; });
    return result;
}

////////////////////////////////////////////////////////////////////////////////

} // namespace NYT::NBacktrace