[dsymutil] Print the swift interface modification time in warning

The warning was printing the timestamp from the debug map twice rather
than both the file system modification time and debug map modification
time.

rdar://86036385

Differential revision: https://reviews.llvm.org/D117331
This commit is contained in:
Jonas Devlieghere 2022-01-19 09:57:08 -08:00
parent a01523ea99
commit c167fa4a4f
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ bool DwarfLinkerForBinary::link(const DebugMap &Map) {
// Not using the helper here as we can easily stream TimePoint<>.
WithColor::warning()
<< File << ": timestamp mismatch between swift interface file ("
<< sys::TimePoint<>(Obj->getTimestamp()) << ") and debug map ("
<< sys::TimePoint<>(ModificationTime) << ") and debug map ("
<< sys::TimePoint<>(Obj->getTimestamp()) << ")\n";
continue;
}