mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-17 05:24:49 +00:00
Define ~DIHelper::DIHelper() in .cpp.
llvm-svn: 285347
This commit is contained in:
parent
50b80c36fa
commit
44fa48f986
@ -52,6 +52,8 @@ template <class ELFT> DIHelper<ELFT>::DIHelper(elf::InputFile *F) {
|
||||
DwarfLine->getOrParseLineTable(LineData, 0);
|
||||
}
|
||||
|
||||
template <class ELFT> DIHelper<ELFT>::~DIHelper() {}
|
||||
|
||||
template <class ELFT> std::string DIHelper<ELFT>::getLineInfo(uintX_t Offset) {
|
||||
if (!DwarfLine)
|
||||
return "";
|
||||
|
@ -65,11 +65,13 @@ class SymbolBody;
|
||||
// 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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user