diff options
author | hjk <[email protected]> | 2025-04-09 10:36:39 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2025-04-10 08:11:05 +0000 |
commit | 6af62f8a66ac3f9e09584d287a738cd1b3116395 (patch) | |
tree | 005836ecfbae4bad5ddf53fd72e71796822a9325 /app/perfsymboltable.cpp | |
parent | 65ab0ff4a3edcca5eb383e5eb32007fd4bd28947 (diff) |
It's effectively the same in Qt 6, and QList is more direct.
Change-Id: I0f23b765f2f8930a715e378212b9bb4f38fcef54
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'app/perfsymboltable.cpp')
-rw-r--r-- | app/perfsymboltable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/perfsymboltable.cpp b/app/perfsymboltable.cpp index e5e7bbb..a70694c 100644 --- a/app/perfsymboltable.cpp +++ b/app/perfsymboltable.cpp @@ -246,7 +246,7 @@ int PerfSymbolTable::parseDie(CuDieRangeMapping *cudie, Dwarf_Die *top, quint64 } } -qint32 PerfSymbolTable::parseDwarf(CuDieRangeMapping *cudie, SubProgramDie *subprogram, const QVector<Dwarf_Die> &inlined, +qint32 PerfSymbolTable::parseDwarf(CuDieRangeMapping *cudie, SubProgramDie *subprogram, const QList<Dwarf_Die> &inlined, Dwarf_Addr bias, quint64 offset, quint64 size, quint64 relAddr, qint32 binaryId, qint32 binaryPathId, qint32 actualPathId, bool isKernel) { Dwarf_Files *files = nullptr; @@ -779,7 +779,7 @@ static bool operator<(const PerfSymbolTable::PerfMapSymbol &a, QByteArray PerfSymbolTable::symbolFromPerfMap(quint64 ip, GElf_Off *offset) const { - QVector<PerfMapSymbol>::ConstIterator sym + QList<PerfMapSymbol>::ConstIterator sym = std::upper_bound(m_perfMap.begin(), m_perfMap.end(), PerfMapSymbol(ip)); if (sym != m_perfMap.begin()) { --sym; |