diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-19 09:57:08 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-01-19 10:44:13 -0800 |
commit | c167fa4a4f36b45b98573fceeb2eea733cbdfdbc (patch) | |
tree | d06c5cfd2944d4c1fd8bdf93b3704dd35929ebb0 | |
parent | a01523ea9939ba360ddca94786134b91189ce42f (diff) | |
download | llvm-c167fa4a4f36b45b98573fceeb2eea733cbdfdbc.zip llvm-c167fa4a4f36b45b98573fceeb2eea733cbdfdbc.tar.gz llvm-c167fa4a4f36b45b98573fceeb2eea733cbdfdbc.tar.bz2 |
[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
-rw-r--r-- | llvm/tools/dsymutil/DwarfLinkerForBinary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp b/llvm/tools/dsymutil/DwarfLinkerForBinary.cpp index f2082c2..809b5f7 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; } |