[PATCH] D25908: [dsymutil] Replace TimeValue with TimePoint

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 08:35:06 PDT 2016


labath created this revision.
labath added reviewers: friss, zturner.
labath added a subscriber: llvm-commits.

All changes are pretty straight-forward. I chose to use TimePoints with
second precision, as that is all that seems to be required here.

One thing I noticed when writing this is that constructing a "zero" time point is
much more laborious than it used to be with TimeValues. Potentially, we may want
to consider adding something akin to TimeValue::PosixZeroTime() to time points as
well.


https://reviews.llvm.org/D25908

Files:
  tools/dsymutil/BinaryHolder.cpp
  tools/dsymutil/BinaryHolder.h
  tools/dsymutil/DebugMap.cpp
  tools/dsymutil/DebugMap.h
  tools/dsymutil/DwarfLinker.cpp
  tools/dsymutil/MachODebugMapParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25908.75584.patch
Type: text/x-patch
Size: 11864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161024/26e9c6c8/attachment-0001.bin>


More information about the llvm-commits mailing list