Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes the
authorJeffrey Yasskin <jyasskin@google.com>
Wed, 1 Jul 2009 18:11:20 +0000 (18:11 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Wed, 1 Jul 2009 18:11:20 +0000 (18:11 +0000)
commited1c0ffe0b2287deaee7cba7506c93aa34c6d4b7
treeaacc869a6945fbd60630f775bd2530fa3d2eaed9
parentb1d7a5d1146c30a54002b7ab49daf024e3174b95
Add a portable strerror*() wrapper, llvm::sys::StrError().  This includes the
Windows variant, strerror_s, but I couldn't test that.

I'll update configure and config.h.in in a subsequent patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74621 91177308-0d34-0410-b5e6-96231b3b80d8
autoconf/configure.ac
cmake/config-ix.cmake
include/llvm/Config/config.h.cmake
include/llvm/System/Errno.h [new file with mode: 0644]
lib/System/CMakeLists.txt
lib/System/Errno.cpp [new file with mode: 0644]
lib/System/Unix/Unix.h
tools/gold/gold-plugin.cpp