[PATCH] D117331: [dsymutil] Print the swift interface modification time in the timestamp mismatch warning

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 09:46:46 PST 2022


JDevlieghere updated this revision to Diff 400051.
JDevlieghere added a comment.

typo


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117331/new/

https://reviews.llvm.org/D117331

Files:
  llvm/tools/dsymutil/DwarfLinkerForBinary.cpp


Index: llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
===================================================================
--- llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
+++ llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
@@ -418,7 +418,7 @@
           // 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;
         }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117331.400051.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220114/cde93f98/attachment.bin>


More information about the llvm-commits mailing list