[lld] r284965 - Adjust for TimePoint interface change in llvm: D25730. NFC
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 24 03:59:15 PDT 2016
Author: labath
Date: Mon Oct 24 05:59:14 2016
New Revision: 284965
URL: http://llvm.org/viewvc/llvm-project?rev=284965&view=rev
Log:
Adjust for TimePoint interface change in llvm: D25730. NFC
Modified:
lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
Modified: lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp?rev=284965&r1=284964&r2=284965&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp Mon Oct 24 05:59:14 2016
@@ -897,7 +897,7 @@ llvm::Error Util::synthesizeDebugNotes(N
llvm::sys::fs::file_status stat;
if (!llvm::sys::fs::status(fullPath, stat))
if (llvm::sys::fs::exists(stat))
- modTime = stat.getLastModificationTime().toEpochTime();
+ modTime = llvm::sys::toTimeT(stat.getLastModificationTime());
_stabs.push_back(mach_o::Stab(nullptr, N_OSO, _ctx.getCPUSubType(), 1,
modTime, fullPath));
More information about the llvm-commits
mailing list