MCPcopy Create free account
hub / github.com/catboost/catboost / SomeMethod

Function SomeMethod

util/system/backtrace_ut.cpp:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void SomeMethod() {
25 TStringStream out;
26
27 FormatBackTrace(&out);
28
29#if defined(_musl_)
30 // musl dladdr broken for us now
31 return;
32#endif
33
34 UNIT_ASSERT(out.Empty() || out.Str().find("SomeMethod") != TString::npos);
35}
36
37class TBackTraceTest: public TTestBase {
38 UNIT_TEST_SUITE(TBackTraceTest);

Callers 1

TestPrintBackTraceMethod · 0.85

Calls 4

FormatBackTraceFunction · 0.85
EmptyMethod · 0.45
findMethod · 0.45
StrMethod · 0.45

Tested by 1

TestPrintBackTraceMethod · 0.68