MCPcopy Create free account
hub / github.com/KDE/kdevelop / getFunctionOrAddress

Function getFunctionOrAddress

plugins/lldb/controllers/framestackmodel.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace {
16
17QString getFunctionOrAddress(const KDevMI::MI::Value &frame)
18{
19 if (frame.hasField(QStringLiteral("func")))
20 return frame[QStringLiteral("func")].literal();
21 else
22 return frame[QStringLiteral("addr")].literal();
23}
24
25}
26

Callers 1

handleThreadInfoMethod · 0.70

Calls 2

hasFieldMethod · 0.80
literalMethod · 0.80

Tested by

no test coverage detected