1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/lib/System/Unix
Torok Edwin 46925cc515 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.

llvm-svn: 94178
2010-01-22 15:51:31 +00:00
..
Alarm.inc
Host.inc Improve llvm::getHostTriple for some cases where the LLVM_HOSTTRIPLE is not 2009-09-03 01:10:13 +00:00
Memory.inc Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
Mutex.inc
Path.inc Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
Process.inc move a few more symbols to .rodata 2009-12-23 17:48:10 +00:00
Program.inc Revert commit 81144, and add a comment. It caused bugpoint timeouts 2009-11-08 20:55:48 +00:00
README.txt
RWMutex.inc
Signals.inc Most stack straces don't need 3 digits worth of levels. 2009-10-30 02:45:10 +00:00
ThreadLocal.inc
TimeValue.inc Fix TimeValue::now() on Unix. 2010-01-22 15:51:31 +00:00
Unix.h

llvm/lib/System/Unix README
===========================

This directory provides implementations of the lib/System classes that
are common to two or more variants of UNIX. For example, the directory 
structure underneath this directory could look like this:

Unix           - only code that is truly generic to all UNIX platforms
  Posix        - code that is specific to Posix variants of UNIX
  SUS          - code that is specific to the Single Unix Specification 
  SysV         - code that is specific to System V variants of UNIX

As a rule, only those directories actually needing to be created should be
created. Also, further subdirectories could be created to reflect versions of
the various standards. For example, under SUS there could be v1, v2, and v3
subdirectories to reflect the three major versions of SUS.