From Craig Silverstein: Dwarf_line_info can work with Object rather

than Sized_relobj.
This commit is contained in:
Ian Lance Taylor
2007-11-12 20:55:53 +00:00
parent b696e6d46c
commit c261a0be88
2 changed files with 8 additions and 18 deletions

View File

@ -46,7 +46,7 @@ class Dwarf_line_info
{
public:
// Initializes a .debug_line reader for a given object file.
Dwarf_line_info(Sized_relobj<size, big_endian>* object);
Dwarf_line_info(Object* object);
// Given a section number and an offset, returns the associated
// file and line-number, as a string: "file:lineno". If unable