aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix
AgeCommit message (Expand)Author
2010-11-29Merge System into Support.Michael J. Spencer
2010-11-16This is the first step in adding sane error handling support to LLVMSystem.Michael J. Spencer
2010-11-07Add method for checking if a path is a symbolic link.Rafael Espindola
2010-11-03Delete unused variables.Dan Gohman
2010-11-03Remove several unhelpful checks for isValid from sys::Path.Dan Gohman
2010-11-02Don't try to enforce MAXPATHLEN in sys::Path for Unix. OS's can checkDan Gohman
2010-11-02Simplify.Dan Gohman
2010-11-02Fix a copy+pasto.Dan Gohman
2010-11-02Avoid manipulating paths in fixed-sized arrays.Dan Gohman
2010-11-02Simplify this code.Dan Gohman
2010-11-02Use '\0' instead of 0 for nul character constants.Dan Gohman
2010-11-02appendSuffix: don't append a dot when the suffix is empty.Mikhail Glushenkov
2010-11-02Eliminate some temporary std::strings.Dan Gohman
2010-11-02Micro-optimize.Dan Gohman
2010-11-02Make FindProgramByName return paths with slashes unmodified on Windows.Mikhail Glushenkov
2010-11-02Path: Add GetEXESuffix() to complement GetDLLSuffix().Mikhail Glushenkov
2010-10-29Check if ErrMsg is null. This fixes the "not" command.Dan Gohman
2010-10-29Make Program::Wait differentiate execution failure due to the fileDan Gohman
2010-10-29Make Program::Wait provide an error message string for errorsDan Gohman
2010-10-28Revert r117582, which reverted r77396. Searching PATH for a stringDan Gohman
2010-10-28Revert r77396.Mikhail Glushenkov
2010-10-28Trailing whitespace.Mikhail Glushenkov
2010-10-08CrashRecovery: Fix raise() override to actually send the right signal, *cough*.Daniel Dunbar
2010-10-07Correctly check if a path is a directory. Fix by Brian Korver.Evan Cheng
2010-09-30Add an explicit initialization to work around what appears to be a valgrindDaniel Dunbar
2010-09-22CrashRecovery/Darwin: Override raise() as well so that crash recovery doesn'tDaniel Dunbar
2010-09-07Issue a #error if the host doesn't have an implementation forDan Gohman
2010-09-02Apply a patch from Kees van Reeuwijk to add support for Minix.Dan Gohman
2010-09-01Add an interface for unregistering a file from the FilesToRemove list.Dan Gohman
2010-08-31Some fixes for NetBSDAnton Korobeynikov
2010-08-19CrashRecovery/Darwin: On Darwin, raise sends a signal to the main thread insteadDaniel Dunbar
2010-08-04Eliminate unnecessary empty string literals.Dan Gohman
2010-07-28Add an erase() method to llvm::ThreadLocal.Owen Anderson
2010-07-14Rather than using an ifdef on the target to zero out fields,Duncan Sands
2010-07-12improve Path::makeUnique when mkstemp/mktemp are not availableChris Lattner
2010-07-07add some triple for minix, patch by Kees van Reeuwijk from PR7582Chris Lattner
2010-05-27Factor out the handler work from SignalHandler into a helper function,Dan Gohman
2010-05-27Don't bother clearing the Magic string when the magic numberDan Gohman
2010-05-08Add llvm::sys::RunInterruptHandlers(), which runs the registered SIGINT cleanupDaniel Dunbar
2010-04-19This doesn't need SmallVector.h anymore.Dan Gohman
2010-04-19Fix this for std::vectors which don't have .data().Dan Gohman
2010-04-19Fix -Wcast-qual warnings.Dan Gohman
2010-04-19Revert 91528 and use a std::vector instead, fixing an abuse of std::string.Dan Gohman
2010-04-18avoid temporary std::string in non posix_spawn path.Chris Lattner
2010-04-18Eliminate temporary string.Benjamin Kramer
2010-04-18Properly inherit the environment on darwin where environ is not available for...Benjamin Kramer
2010-04-18This is horrible. Split the difference, and declare 'environ' on all non-DarwinNick Lewycky
2010-04-18Revert r101701, Darwin doesn't have 'environ'. Go figure.Nick Lewycky
2010-04-18Fix linux build. posix_spawn doesn't inherit the environment by default.Nick Lewycky
2010-04-18make Program::Execute use posix_spawn on systems that support it,Chris Lattner