Fix a FIXME about the format and add a test.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Jul 2013 15:35:23 +0000 (15:35 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Jul 2013 15:35:23 +0000 (15:35 +0000)
commitb1c1c5f37734770f7ecef3d83f26e130ca4a4c9e
tree0798d43d7a234c68796bec9ccb455c9976faea80
parentc815a4e2977b33d6fd9f7dc2acf2126b5ecd369f
Fix a FIXME about the format and add a test.

While at it, use strftime on Unix too and use the thread safe versions
of localtime.

llvm-svn: 186090
llvm/lib/Support/Unix/TimeValue.inc
llvm/lib/Support/Windows/TimeValue.inc
llvm/test/Object/archive-toc.test
llvm/tools/llvm-ar/llvm-ar.cpp