Index: llvm/tools/dsymutil/DwarfLinkerForBinary.cpp =================================================================== --- llvm/tools/dsymutil/DwarfLinkerForBinary.cpp +++ llvm/tools/dsymutil/DwarfLinkerForBinary.cpp @@ -414,7 +414,8 @@ auto ModificationTime = std::chrono::time_point_cast( Stat.getLastModificationTime()); - if (ModificationTime != Obj->getTimestamp()) { + if (Obj->getTimestamp() != sys::TimePoint<>() && + ModificationTime != Obj->getTimestamp()) { // Not using the helper here as we can easily stream TimePoint<>. WithColor::warning() << File << ": timestamp mismatch between swift interface file ("