diff options
Diffstat (limited to 'src/graph.cc')
-rw-r--r-- | src/graph.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/graph.cc b/src/graph.cc index 4bf558a..caf2aca 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -21,8 +21,8 @@ #include "depfile_parser.h" #include "disk_interface.h" #include "explain.h" +#include "manifest_parser.h" #include "metrics.h" -#include "parsers.h" #include "state.h" #include "util.h" @@ -140,7 +140,10 @@ bool Edge::RecomputeOutputDirty(BuildLog* build_log, if (rule_->restat() && build_log && (entry = build_log->LookupByOutput(output->path()))) { if (entry->restat_mtime < most_recent_input) { - EXPLAIN("restat of output %s older than inputs", output->path().c_str()); + EXPLAIN("restat of output %s older than most recent input %s (%d vs %d)", + output->path().c_str(), + most_recent_node ? most_recent_node->path().c_str() : "", + entry->restat_mtime, most_recent_input); return true; } } else { |