llvm/unittests/Support
Torok Edwin b0a5baefaa Fix TimeValue::now() on Unix.
TimeValue()::now().toEpochTime() is supposed to be the same as time(),
but it wasn't, because toEpoch subtracted PosixZeroTime, but now()
didn't add PosixZeroTime!
Add a unittest to check this works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94178 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-22 15:51:31 +00:00
..
AllocatorTest.cpp Fix unit test on FreeBSD. We need to make sure there is enough space to save the pointer even if the memory returned from malloc was already aligned. 2009-08-12 12:31:02 +00:00
CommandLineTest.cpp Fix a compile failure introduced by r82675 on MinGW which doesn't have 2009-09-25 21:07:20 +00:00
ConstantRangeTest.cpp Simplify, now that gtest supports raw_ostream directly. 2009-09-06 02:31:26 +00:00
LeakDetectorTest.cpp Catch more cases of a pointer being marked garbage twice. This helps when 2009-12-18 20:35:38 +00:00
Makefile Minimal raw_ostream unit tests 2009-03-17 16:14:59 +00:00
MathExtrasTest.cpp Fixed header comment. 2009-08-20 17:01:14 +00:00
raw_ostream_test.cpp Add raw_ostream::write_escaped, for writing escaped strings. 2009-10-17 20:43:08 +00:00
RegexTest.cpp remove support for "NoSub" from regex. It seems like a minor optimization 2009-09-26 21:27:04 +00:00
System.cpp Fix TimeValue::now() on Unix. 2010-01-22 15:51:31 +00:00
TypeBuilderTest.cpp Introduce and use convenience methods for getting pointer types 2009-10-06 15:40:36 +00:00
ValueHandleTest.cpp Type.h doesn't need to #include LLVMContext.h 2009-10-27 17:08:31 +00:00