From Craig Silverstein: Clean up DWARF line reader code.

This commit is contained in:
Ian Lance Taylor
2007-11-14 18:33:47 +00:00
parent 9a2d698415
commit a18f2bd699
2 changed files with 2 additions and 10 deletions

View File

@ -72,16 +72,12 @@ class Dwarf_line_info
};
template<int size, bool big_endian>
class Sized_dwarf_line_info
class Sized_dwarf_line_info : public Dwarf_line_info
{
public:
// Initializes a .debug_line reader for a given object file.
Sized_dwarf_line_info(Object* object);
std::string
addr2line(unsigned int shndx, off_t offset)
{ return do_addr2line(shndx, offset); }
private:
std::string
do_addr2line(unsigned int shndx, off_t offset);