* incremental.cc (Sized_incremental_binary::do_check_inputs): Add

debug output when command lines differ.
This commit is contained in:
Cary Coutant 2011-07-06 21:22:55 +00:00
parent 9fbd3822ad
commit 8f7c81e876
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-07-06 Cary Coutant <ccoutant@google.com>
* incremental.cc (Sized_incremental_binary::do_check_inputs): Add
debug output when command lines differ.
2011-07-06 Cary Coutant <ccoutant@google.com>
* incremental.cc (Incremental_inputs::report_command_line): Ignore

View File

@ -393,6 +393,12 @@ Sized_incremental_binary<size, big_endian>::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;
}