aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Unix
AgeCommit message (Expand)Author
2009-08-19Get rid of a helgrind warning. If this is _actually_ a performance problem,Owen Anderson
2009-08-17Add locking around signal handler registration.Owen Anderson
2009-08-07Fix a bunch of namespace pollution.Dan Gohman
2009-08-05Minor code simplification.Dan Gohman
2009-08-05Update a comment to reflect the current code.Dan Gohman
2009-08-05Remove needless uses of std::flush in the parent process after aDan Gohman
2009-08-05Use _exit rather than exit in the child process after a failed exec.Dan Gohman
2009-08-04Follow Unix behavior and return 127 if the command is not found,Dan Gohman
2009-08-04When exec() fails, return 127 instead of errno; the parent process has no way toDaniel Dunbar
2009-08-03Fix a race condition in getting the process exit code on Win32.Daniel Dunbar
2009-07-29Remove another F_OK.Dan Gohman
2009-07-28On "Unix", if Program::FindProgramByName is given a name containingDan Gohman
2009-07-28It isn't necessary to use F_OK when using R_OK or similar.Dan Gohman
2009-07-28Fix a fixme; don't take binaries from the working directory.Benjamin Kramer
2009-07-23Re-committing r76828 with the JIT memory manager changes now that the buildReid Kleckner
2009-07-23Reverting r76825 and r76828, since they caused clang runtime errors and some ...Reid Kleckner
2009-07-23Make the JIT code emitter properly retry and ask for more memory when it runsReid Kleckner
2009-07-18Remove duplication in Program::Execute{And,No}Wait.Mikhail Glushenkov
2009-07-17Trailing whitespace.Mikhail Glushenkov
2009-07-12Improve sys::Path::makeAbsolute on Win32.Daniel Dunbar
2009-07-12"UNIX paths can contain non-ASCII characters, so Path::isValid() should not r...Chris Lattner
2009-07-08Add an ExecuteNoWait interface to support asynchronous process spawning.David Greene
2009-07-01Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin
2009-06-26Fix compilation without pthreads.Owen Anderson
2009-06-25Add a class for supporting platform independent thread-local storage.Owen Anderson
2009-06-18Give RWMutex the SmartRWMutex treatment too.Owen Anderson
2009-06-18Insert a SmartMutex templated class into the class hierarchy, which takes a t...Owen Anderson
2009-06-16Add a portable wrapper for reader-writer locks.Owen Anderson
2009-06-15glibc has two versions of strerror_r, a standards compliant one and a GNUDan Gohman
2009-06-15add a new static method to portably determine whether a patch isChris Lattner
2009-06-04Add support for outputting ANSI colors to raw_fd_ostream.Torok Edwin
2009-05-30Untabification.Bill Wendling
2009-05-23Work around a page size issue on Cygwin.Jay Foad
2009-05-18termios.h contains the winsize structure we need to determine theDouglas Gregor
2009-05-11Add terminal width detection to llvm::sys::Process. This is needed toDouglas Gregor
2009-04-20Make Unix.h:MakeErrMsg separate the prefix and errno string, so we get:Daniel Dunbar
2009-04-12fix PR3965:SIGINT handler not restored after calling ParseAST(),Chris Lattner
2009-03-31Add llvm::sys::getHostTriple and removeDaniel Dunbar
2009-03-23fix a bug Alexei Svitkine pointed out.Chris Lattner
2009-03-23When we restore signal handlers, restore them back to what theyChris Lattner
2009-03-23factorize signal registration, part of PR3848.Chris Lattner
2009-03-08add some explicit llvm:: qualifiers to the unix side, fix problems on the win...Chris Lattner
2009-03-07When a crash signal is delivered do two things: remove all of ourChris Lattner
2009-03-05move some code to gracefully handle the case when a handler crashes.Chris Lattner
2009-03-04Add a new 'AddSignalHandler' function to Signals.h that allowsChris Lattner
2009-03-02Fix main executable path name resolution on FreeBSD, patch by Chris Lattner
2009-02-19If an executable is run through a symlink, dladdr will return theChris Lattner
2009-02-15Fix warning on gcc 4.3.Mikhail Glushenkov
2009-02-15Whitespace fixes.Mikhail Glushenkov
2009-02-10Use const, to support platforms where strrchr returns a const char *.Dan Gohman