[llvm] c167fa4 - [dsymutil] Print the swift interface modification time in warning
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 10:44:37 PST 2022
Author: Jonas Devlieghere
Date: 2022-01-19T10:44:13-08:00
New Revision: c167fa4a4f36b45b98573fceeb2eea733cbdfdbc
URL: https://github.com/llvm/llvm-project/commit/c167fa4a4f36b45b98573fceeb2eea733cbdfdbc
DIFF: https://github.com/llvm/llvm-project/commit/c167fa4a4f36b45b98573fceeb2eea733cbdfdbc.diff
LOG: [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
Added:
Modified:
llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
Removed:
################################################################################
diff --git a/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp b/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
index f2082c260cc27..809b5f799b068 100644
--- a/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+++ b/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
@@ -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;
}
More information about the llvm-commits
mailing list