forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -88,6 +88,10 @@ gold_fatal(const char* format, ...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF_1;
|
||||
extern void
|
||||
gold_warning(const char* msg, ...) ATTRIBUTE_PRINTF_1;
|
||||
|
||||
// This function is called to print an informational message.
|
||||
extern void
|
||||
gold_info(const char* msg, ...) ATTRIBUTE_PRINTF_1;
|
||||
|
||||
#define gold_unreachable() \
|
||||
(gold::do_gold_unreachable(__FILE__, __LINE__, \
|
||||
static_cast<const char*>(__FUNCTION__)))
|
||||
|
||||
Reference in New Issue
Block a user