aboutsummaryrefslogtreecommitdiff
path: root/gold/dwp.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-05-14 14:19:08 -0700
committerCary Coutant <ccoutant@google.com>2013-11-14 11:30:12 -0800
commit94e49e160d0c3f0b1b838f9963b1da5d3cfc795b (patch)
tree8a09673635fbf9306a8a29eeaf661e14bb60a565 /gold/dwp.h
parent7cdd7d57e6fa3932eb63aa785ae0e3fa837aab20 (diff)
downloadgdb-94e49e160d0c3f0b1b838f9963b1da5d3cfc795b.zip
gdb-94e49e160d0c3f0b1b838f9963b1da5d3cfc795b.tar.gz
gdb-94e49e160d0c3f0b1b838f9963b1da5d3cfc795b.tar.bz2
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.
Diffstat (limited to 'gold/dwp.h')
-rw-r--r--gold/dwp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/dwp.h b/gold/dwp.h
index 25d4f68..948c6a9 100644
--- a/gold/dwp.h
+++ b/gold/dwp.h
@@ -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__)))