From 8f7c81e876e2ad9bc051681dba536919c8851f9d Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 6 Jul 2011 21:22:55 +0000 Subject: [PATCH] * incremental.cc (Sized_incremental_binary::do_check_inputs): Add debug output when command lines differ. --- gold/ChangeLog | 5 +++++ gold/incremental.cc | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gold/ChangeLog b/gold/ChangeLog index f975788fe91..8181beba24d 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2011-07-06 Cary Coutant + + * incremental.cc (Sized_incremental_binary::do_check_inputs): Add + debug output when command lines differ. + 2011-07-06 Cary Coutant * incremental.cc (Incremental_inputs::report_command_line): Ignore diff --git a/gold/incremental.cc b/gold/incremental.cc index f0be7f04daa..3dffbd326ed 100644 --- a/gold/incremental.cc +++ b/gold/incremental.cc @@ -393,6 +393,12 @@ Sized_incremental_binary::do_check_inputs( if (incremental_inputs->command_line() != inputs.command_line()) { + gold_debug(DEBUG_INCREMENTAL, + "old command line: %s", + inputs.command_line()); + gold_debug(DEBUG_INCREMENTAL, + "new command line: %s", + incremental_inputs->command_line().c_str()); explain_no_incremental(_("command line changed")); return false; } -- 2.30.2