Add --verify-only option to DWP.
authorCary Coutant <ccoutant@google.com>
Tue, 14 May 2013 21:19:08 +0000 (14:19 -0700)
committerCary Coutant <ccoutant@google.com>
Thu, 14 Nov 2013 19:30:12 +0000 (11:30 -0800)
commit94e49e160d0c3f0b1b838f9963b1da5d3cfc795b
tree8a09673635fbf9306a8a29eeaf661e14bb60a565
parent7cdd7d57e6fa3932eb63aa785ae0e3fa837aab20
Add --verify-only option to DWP.

gold/
* dwp.cc (Dwo_file_entry): New type.
(File_list): Use Dwo_file_entry.
(Dwo_file::verify): New function.
(Dwo_file::verify_dwo_list): New function.
(Dwo_file::sized_verify_dwo_list): New function.
(Dwo_name_info_reader::visit_compilation_unit): Add dwo_id to file
list.
(Dwp_options): New enum type.
(dwp_options): Add --verify-only.
(usage): Likewise.
(main): Likewise.
* dwp.h (gold_info): Add declaration.
gold/ChangeLog
gold/dwp.cc
gold/dwp.h