| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove contributor names as per coding statndard. | Michael J. Spencer | 2010-11-08 | 1 | -3/+0 |
| | | | | | llvm-svn: 118442 | ||||
| * | Add method for checking if a path is a symbolic link. | Rafael Espindola | 2010-11-07 | 2 | -0/+14 |
| | | | | | llvm-svn: 118367 | ||||
| * | System: Add llvm_execute_on_thread, which does what it says. | Daniel Dunbar | 2010-11-04 | 1 | -0/+52 |
| | | | | | | | | - Primarily useful for running some code with a specified stack size, when pthreads are available. llvm-svn: 118222 | ||||
| * | Delete unused variables. | Dan Gohman | 2010-11-03 | 1 | -3/+0 |
| | | | | | llvm-svn: 118128 | ||||
| * | Remove several unhelpful checks for isValid from sys::Path. | Dan Gohman | 2010-11-03 | 1 | -26/+4 |
| | | | | | llvm-svn: 118127 | ||||
| * | Don't try to enforce MAXPATHLEN in sys::Path for Unix. OS's can check | Dan Gohman | 2010-11-02 | 1 | -4/+6 |
| | | | | | | | limits on their own. llvm-svn: 118113 | ||||
| * | Simplify. | Dan Gohman | 2010-11-02 | 1 | -2/+1 |
| | | | | | llvm-svn: 118110 | ||||
| * | Fix a copy+pasto. | Dan Gohman | 2010-11-02 | 1 | -1/+2 |
| | | | | | llvm-svn: 118106 | ||||
| * | Avoid manipulating paths in fixed-sized arrays. | Dan Gohman | 2010-11-02 | 1 | -10/+6 |
| | | | | | llvm-svn: 118105 | ||||
| * | Simplify this code. | Dan Gohman | 2010-11-02 | 1 | -6/+3 |
| | | | | | llvm-svn: 118102 | ||||
| * | Use '\0' instead of 0 for nul character constants. | Dan Gohman | 2010-11-02 | 1 | -3/+3 |
| | | | | | llvm-svn: 118096 | ||||
| * | appendSuffix: don't append a dot when the suffix is empty. | Mikhail Glushenkov | 2010-11-02 | 3 | -24/+15 |
| | | | | | | | | Additionally, move the implementation of appendSuffix to Path.cpp: it is platform-independent. llvm-svn: 118089 | ||||
| * | Eliminate some temporary std::strings. | Dan Gohman | 2010-11-02 | 1 | -4/+4 |
| | | | | | llvm-svn: 118086 | ||||
| * | Micro-optimize. | Dan Gohman | 2010-11-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 118058 | ||||
| * | GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT. | Mikhail Glushenkov | 2010-11-02 | 1 | -1/+1 |
| | | | | | | | This allows using GetDLLSuffix() with appendSuffix(). llvm-svn: 118051 | ||||
| * | Make FindProgramByName return paths with slashes unmodified on Windows. | Mikhail Glushenkov | 2010-11-02 | 2 | -4/+6 |
| | | | | | | | This makes its behaviour more consistent across platforms. llvm-svn: 118048 | ||||
| * | 80-col violations. | Mikhail Glushenkov | 2010-11-02 | 1 | -3/+5 |
| | | | | | llvm-svn: 118045 | ||||
| * | Path: Add GetEXESuffix() to complement GetDLLSuffix(). | Mikhail Glushenkov | 2010-11-02 | 2 | -0/+9 |
| | | | | | llvm-svn: 118042 | ||||
| * | Check if ErrMsg is null. This fixes the "not" command. | Dan Gohman | 2010-10-29 | 1 | -6/+11 |
| | | | | | llvm-svn: 117666 | ||||
| * | Make Program::Wait differentiate execution failure due to the file | Dan Gohman | 2010-10-29 | 3 | -9/+13 |
| | | | | | | | being not found from the file being not executable. llvm-svn: 117664 | ||||
| * | Make Program::Wait provide an error message string for errors | Dan Gohman | 2010-10-29 | 1 | -9/+19 |
| | | | | | | | executing the child process and abnormal child process termination. llvm-svn: 117661 | ||||
| * | Revert r117582, which reverted r77396. Searching PATH for a string | Dan Gohman | 2010-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | which contains slashes is inconsistent with the meaning of PATH on Unix-type platforms, and pretty surprising. If the user has given a specific path to execute and we can't execute it, we should fail and say why. (Apparently the new posix_spawn code doesn't always say why, but that's a separate issue.) llvm-svn: 117596 | ||||
| * | Revert r77396. | Mikhail Glushenkov | 2010-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Original commit message: On "Unix", if Program::FindProgramByName is given a name containing slashes, just go with it, regardless of whether it looks like it will be executable. This follows the behavior of sh(1) more closely. It's better when behaviour is consistent between platforms. This change also makes FindExecutable() behave as expected on unix-likes (before this commit, it used to always succeed). llvm-svn: 117582 | ||||
| * | Trailing whitespace. | Mikhail Glushenkov | 2010-10-28 | 1 | -4/+4 |
| | | | | | llvm-svn: 117581 | ||||
| * | Reindent. | Mikhail Glushenkov | 2010-10-28 | 1 | -71/+71 |
| | | | | | llvm-svn: 117538 | ||||
| * | 80-col violation. | Mikhail Glushenkov | 2010-10-27 | 1 | -1/+2 |
| | | | | | llvm-svn: 117443 | ||||
| * | Remove try/catch(...) from Win32/Signals.inc. | Mikhail Glushenkov | 2010-10-27 | 2 | -11/+1 |
| | | | | | | | | | | | | | | | | | | | | | catch(...) is used in Win32/Signals.inc for catching Win32 structured exceptions, but according to [1], this is wrong. We can't simply change try/catch to __try/__finally, since this syntax is not supported by MinGW. We can use __try/__finally on MSVC and __try1/__except1 macros on MinGW [2], but I think that that solution obfuscates the code too much. The use of try/catch(...) in Signals.inc makes it impossible to link MinGW-compiled libSystem with llvm-gcc compiled executables. I propose that we just remove try/catch(...) from Signals.inc, since the meaning of the code won't change. [1] http://members.cox.net/doug_web/eh.htm [2] http://article.gmane.org/gmane.comp.compilers.llvm.cvs/81315 llvm-svn: 117442 | ||||
| * | ATTRIBUTE_UNUSED has been renamed to LLVM_ATTRIBUTE_UNUSED. | Duncan Sands | 2010-10-25 | 1 | -2/+2 |
| | | | | | | | | Rather than rename this instance, use the cast-to-void idiom instead. This will hopefully fix the windows buildbots. llvm-svn: 117262 | ||||
| * | Win32/Signals.inc: DontRemoveFileOnSignal(): Please acquire the CriticalSection. | NAKAMURA Takumi | 2010-10-22 | 1 | -0/+2 |
| | | | | | | | It choked BugPoint on Mingw. llvm-svn: 117083 | ||||
| * | Trailing whitespace. | Mikhail Glushenkov | 2010-10-21 | 1 | -5/+5 |
| | | | | | llvm-svn: 117058 | ||||
| * | Use C++03... | Michael J. Spencer | 2010-10-20 | 1 | -1/+6 |
| | | | | | llvm-svn: 116927 | ||||
| * | System-Win32/Path: Fix incorrect assumption in isValid. | Michael J. Spencer | 2010-10-20 | 1 | -0/+9 |
| | | | | | | | | A recent commit to clang exposed a bug in the Win32 Path code. This is a minimal fix for it. llvm-svn: 116925 | ||||
| * | Remove remaining uses of ATTRIBUTE_UNUSED on variables, and delete three | Chandler Carruth | 2010-10-20 | 1 | -2/+2 |
| | | | | | | | #includes in the process. llvm-svn: 116919 | ||||
| * | Add ATTRIBUTE_UNUSED for -Asserts. | NAKAMURA Takumi | 2010-10-20 | 2 | -4/+4 |
| | | | | | llvm-svn: 116909 | ||||
| * | lib/System/Win32/ThreadLocal.inc: Suppress "unused" warning on -Asserts. | NAKAMURA Takumi | 2010-10-19 | 1 | -0/+1 |
| | | | | | llvm-svn: 116785 | ||||
| * | Build with RTTI and exceptions disabled. Only in GCC for now. | Oscar Fuentes | 2010-10-17 | 1 | -0/+5 |
| | | | | | llvm-svn: 116682 | ||||
| * | When building shared libraries, link to required system libraries. | Oscar Fuentes | 2010-10-14 | 1 | -4/+0 |
| | | | | | | | PR 8375 llvm-svn: 116479 | ||||
| * | Change explicit search Apple specific code to only reference __eprintf on x86. | Daniel Dunbar | 2010-10-11 | 1 | -8/+5 |
| | | | | | llvm-svn: 116239 | ||||
| * | CrashRecovery: Fix raise() override to actually send the right signal, *cough*. | Daniel Dunbar | 2010-10-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 116072 | ||||
| * | Correctly check if a path is a directory. Fix by Brian Korver. | Evan Cheng | 2010-10-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 115991 | ||||
| * | lib/System/Win32/Signals.inc: Enable LLVM_DISABLE_CRT_DEBUG also on mingw. | NAKAMURA Takumi | 2010-10-06 | 1 | -6/+2 |
| | | | | | llvm-svn: 115731 | ||||
| * | Add an explicit initialization to work around what appears to be a valgrind | Daniel Dunbar | 2010-09-30 | 1 | -1/+3 |
| | | | | | | | false positive, at least on Darwin. I haven't filed this, but you can feel free. llvm-svn: 115242 | ||||
| * | Revert r114320(move file = copy + delete on Win32). r115040 is a better ↵ | Francois Pichet | 2010-09-30 | 1 | -11/+4 |
| | | | | | | | solution for the Win32 ACCESS_DENIED lit error. llvm-svn: 115114 | ||||
| * | CrashRecovery/Darwin: Override raise() as well so that crash recovery doesn't | Daniel Dunbar | 2010-09-22 | 1 | -1/+5 |
| | | | | | | | | end up altering the thread on which crashes are done because of its use of Darwin's broken raise() implementation. llvm-svn: 114558 | ||||
| * | Fix the "unable to rename temporary" lit test failing on Windows. rename is ↵ | Francois Pichet | 2010-09-20 | 1 | -4/+11 |
| | | | | | | | now copy + delete on Windows. Problem to be revisited for a permanent and clean solution. llvm-svn: 114320 | ||||
| * | Add one more Core i7 model number. | Jakob Stoklund Olesen | 2010-09-19 | 1 | -0/+2 |
| | | | | | llvm-svn: 114310 | ||||
| * | add corei7, the laptop version. | Chris Lattner | 2010-09-19 | 1 | -0/+1 |
| | | | | | llvm-svn: 114302 | ||||
| * | Move the declaration SetInformationJobObject() outside of namespace. | NAKAMURA Takumi | 2010-09-17 | 1 | -9/+9 |
| | | | | | | | It is also workaround for PR7927. llvm-svn: 114175 | ||||
| * | System: Don't reexport ___eprintf when building with Clang; this symbol isn't | Daniel Dunbar | 2010-09-17 | 1 | -0/+7 |
| | | | | | | | | used on Darwin anymore, and Clang might not always link with the library it is currently found in. llvm-svn: 114165 | ||||
| * | System/Path: Add x86-64 COFF to IdentifyFileType. | Michael J. Spencer | 2010-09-15 | 1 | -0/+4 |
| | | | | | llvm-svn: 114037 | ||||

