Fix TimeValue::toWin32Time() to be symmetric to fromWin32Time() and compatible to...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 16 Jul 2013 02:43:51 +0000 (02:43 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 16 Jul 2013 02:43:51 +0000 (02:43 +0000)
commitff8f9e58ec8507b951043a367d72f2385e12cf70
tree5f00e6e2edcad04abaf76bb5ef38066e4e2c1dda
parente7f0393f6d080f599f225dcdc440142e758ffe1b
Fix TimeValue::toWin32Time() to be symmetric to fromWin32Time() and compatible to Win32's FILETIME.

llvm-ar is the only user of toWin32Time() (via setLastModificationAndAccessTime), and r186298 can be reverted.
It had been buggy since the initial commit.

FIXME: Could we rename {from|to}Win32Time as {from|to}Win32FILETIME in TimeValue?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186374 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/TimeValue.h
test/Object/extract.ll