[PATCH] D117333: [dsymutil] Don't print swift interface timestamp warning if we have no timestamp
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 09:11:08 PST 2022
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/tools/dsymutil/DwarfLinkerForBinary.cpp:417
Stat.getLastModificationTime());
- if (ModificationTime != Obj->getTimestamp()) {
+ if (Obj->getTimestamp() != sys::TimePoint<>() &&
+ ModificationTime != Obj->getTimestamp()) {
----------------
We could have a local variable called epochStart or something to make this more readable, but wither way is fine.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117333/new/
https://reviews.llvm.org/D117333
More information about the llvm-commits
mailing list