DwarfLine->getOrParseLineTable(LineData, 0);
}
+template <class ELFT> DIHelper<ELFT>::~DIHelper() {}
+
template <class ELFT> std::string DIHelper<ELFT>::getLineInfo(uintX_t Offset) {
if (!DwarfLine)
return "";
// we cache debugging information in order to parse it only once
// for each object file we link.
template <class ELFT> class DIHelper {
-public:
typedef typename ELFT::uint uintX_t;
+public:
DIHelper(InputFile *F);
+ ~DIHelper();
std::string getLineInfo(uintX_t Offset);
+
private:
std::unique_ptr<llvm::DWARFDebugLine> DwarfLine;
};