hanchenye-llvm-project/llvm/lib
Benjamin Kramer 172f80849f Use access(2) instead of stat(2) to check if a file exists.
Apart from being slightly cheaper, this fixes a real bug that hits 32 bit
linux systems. When passing a file larger than 2G to be linked (which isn't
that uncommon with large projects such as WebKit), clang's driver checks
if the file exists but the file size doesn't fit in an off_t and stat(2)
fails with EOVERFLOW. Clang then says that the file doesn't exist instead
of passing it to the linker.

llvm-svn: 157891
2012-06-02 16:28:09 +00:00
..
Analysis Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
Archive
AsmParser switch AttrListPtr::get to take an ArrayRef, simplifying a lot of clients. 2012-05-28 01:47:44 +00:00
Bitcode PR1255: case ranges. 2012-06-02 09:42:43 +00:00
CodeGen Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
DebugInfo
ExecutionEngine Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
Linker Supply a C interface to the "LinkModules" method. 2012-05-09 08:55:40 +00:00
MC Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
Object Mark some static arrays as const. 2012-05-24 06:35:32 +00:00
Support Use access(2) instead of stat(2) to check if a file exists. 2012-06-02 16:28:09 +00:00
TableGen Fix 80 columns. 2012-06-01 00:58:41 +00:00
Target Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
Transforms Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
VMCore Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile