diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-07 00:49:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-07 00:49:56 +0000 |
commit | e43872e995f19a24dfc933627009b5d3c55aab18 (patch) | |
tree | abdfeb32414f47a9450bf4b8f717924d81389ecc /gold/object.cc | |
parent | a7a81c1d9d5e6191ec7a2c3ce2ecc03e1264e4df (diff) | |
download | gdb-e43872e995f19a24dfc933627009b5d3c55aab18.zip gdb-e43872e995f19a24dfc933627009b5d3c55aab18.tar.gz gdb-e43872e995f19a24dfc933627009b5d3c55aab18.tar.bz2 |
From Craig Silverstein: Templatize the Dwarf reader.
Diffstat (limited to 'gold/object.cc')
-rw-r--r-- | gold/object.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gold/object.cc b/gold/object.cc index 8efd4ec..0b71be1 100644 --- a/gold/object.cc +++ b/gold/object.cc @@ -919,8 +919,9 @@ Relocate_info<size, big_endian>::location(size_t, off_t offset) const shndx, &debuglines_size, false); if (debuglines) { - Dwarf_line_info line_info(debuglines, debuglines_size); - line_info.read_line_mappings<size, big_endian>(); + Dwarf_line_info<size, big_endian> line_info(debuglines, + debuglines_size); + line_info.read_line_mappings(); file_and_lineno = line_info.addr2line(this->data_shndx, offset); } break; |