* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
authorCary Coutant <ccoutant@google.com>
Wed, 29 Feb 2012 21:22:29 +0000 (21:22 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 29 Feb 2012 21:22:29 +0000 (21:22 +0000)
commit5dd8762ad1a47548394c76ead1b56fc5dab64628
tree54eeb14cc262fb233284909e649157185c6a92d2
parent718cb7da5d4c438d89fc9aeac7f535d01d64af42
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
Call Object::decompressed_section_contents.
* dwarf_reader.h (Sized_dwarf_line_info::~Sized_dwarf_line_info):
New dtor.
(Sized_dwarf_line_info::buffer_start_): New data member.
* merge.cc (Output_merge_data::do_add_input_section): Call
Object::decompressed_section_contents.
(Output_merge_string::do_add_input_section): Likewise.
* object.cc (need_decompressed_section): New function.
(build_compressed_section_map): Decompress sections needed later.
(Sized_relobj_file::do_decompressed_section_contents): New function.
(Sized_relobj_file::do_discard_decompressed_sections): New function.
* object.h (Object::decompressed_section_contents): New function.
(Object::discard_decompressed_sections): New function.
(Object::do_decompressed_section_contents): New function.
(Object::do_discard_decompressed_sections): New function.
(Compressed_section_info): New type.
(Compressed_section_map): Include decompressed section contents.
(Sized_relobj_file::do_decompressed_section_contents): New function.
(Sized_relobj_file::do_discard_decompressed_sections): New function.
gold/ChangeLog
gold/dwarf_reader.cc
gold/dwarf_reader.h
gold/merge.cc
gold/object.cc
gold/object.h
gold/readsyms.cc