summaryrefslogtreecommitdiff
path: root/gold/dwarf_reader.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
committerIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
commit106002249a4341c91adc0c25f63c84cd1b544737 (patch)
treec502e6cfa078ce18a78e5287b9eca3434636b15b /gold/dwarf_reader.cc
parent14144f39e4581f4f39bcd44c2f8336fee28b0220 (diff)
From Craig Silverstein: Handle quoted strings differently in version
scripts, and handle extern "C++" in the middle of a block.
Diffstat (limited to 'gold/dwarf_reader.cc')
-rw-r--r--gold/dwarf_reader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc
index bf03ca3228..19c1a035ac 100644
--- a/gold/dwarf_reader.cc
+++ b/gold/dwarf_reader.cc
@@ -125,6 +125,7 @@ Sized_dwarf_line_info<size, big_endian>::Sized_dwarf_line_info(Object* object,
{
unsigned int debug_shndx;
for (debug_shndx = 0; debug_shndx < object->shnum(); ++debug_shndx)
+ // FIXME: do this more efficiently: section_name() isn't super-fast
if (object->section_name(debug_shndx) == ".debug_line")
{
section_size_type buffer_size;