From 0e9d09e73279d0e1d9052810b1aea4fcc7915a72 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 5 Dec 2022 10:04:36 +0100 Subject: Make findDebugInfoFile() accessible from the test If it's static in perfsymboltable.cpp's file scope, we cannot use it from anywhere else. Change-Id: I60ac203120b7c88feff2acb26b224a8761469bf8 Reviewed-by: Milian Wolff --- app/perfsymboltable.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/perfsymboltable.h') diff --git a/app/perfsymboltable.h b/app/perfsymboltable.h index 366c9f5..27ba205 100644 --- a/app/perfsymboltable.h +++ b/app/perfsymboltable.h @@ -44,6 +44,9 @@ public: PerfSymbolTable(qint32 pid, Dwfl_Callbacks *callbacks, PerfUnwind *parent); ~PerfSymbolTable(); + static QFileInfo findDebugInfoFile( + const QString& root, const QString& file, const QString& debugLinkString); + struct PerfMapSymbol { PerfMapSymbol(quint64 start = 0, quint64 length = 0, QByteArray name = QByteArray()) : start(start), length(length), name(name) {} -- cgit v1.2.3