summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/perfsymboltable.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp
index 2093bb8..28289fa 100644
--- a/app/perfsymboltable.cpp
+++ b/app/perfsymboltable.cpp
@@ -601,6 +601,7 @@ PerfElfMap::ElfInfo PerfSymbolTable::findElf(quint64 ip) const
class CuDieRanges
{
+public:
struct CuDieRange
{
Dwarf_Die *cuDie;
@@ -613,7 +614,7 @@ class CuDieRanges
return low <= addr && addr < high;
}
};
-public:
+
CuDieRanges(Dwfl_Module *mod = nullptr)
{
if (!mod)
@@ -649,6 +650,7 @@ public:
};
QT_BEGIN_NAMESPACE
Q_DECLARE_TYPEINFO(CuDieRanges, Q_MOVABLE_TYPE);
+Q_DECLARE_TYPEINFO(CuDieRanges::CuDieRange, Q_MOVABLE_TYPE);
QT_END_NAMESPACE
int symbolIndex(const Elf64_Rel &rel)