- Aug 23, 2006
-
-
Reid Spencer authored
Final removal of exceptions from lib/System and adjustment of users to accommodate. llvm-svn: 29846
-
Reid Spencer authored
Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
-
Reid Spencer authored
Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
-
Reid Spencer authored
Remove exceptions from the Path::create*OnDisk methods. Update their users to handle error messages via arguments and result codes. llvm-svn: 29840
-
Reid Spencer authored
Change the Path::make*OnDisk methods exception free and adjust their usage. llvm-svn: 29836
-
- Aug 22, 2006
-
-
Reid Spencer authored
adjust users of it to compensate. llvm-svn: 29831
-
Reid Spencer authored
just return MinTime if that should ever happen. llvm-svn: 29826
-
Reid Spencer authored
Make MappedFile not throw any exceptions. llvm-svn: 29816
-
Reid Spencer authored
Fix a bug in my last patch that botched file redirection by using explicit scoping of if statements. llvm-svn: 29815
-
Reid Spencer authored
llvm-svn: 29808
-
- Aug 21, 2006
-
-
Reid Spencer authored
Remove all exception code from Program.inc and implement its new interface with an ErrMsg string argument. llvm-svn: 29790
-
Reid Spencer authored
Make sys::Program::ExecuteAndWait not throw exceptions and update any affected code. It now return -9999 to signal that the program couldn't be executed. Only one case (in bugpoint) actually examines the result code. llvm-svn: 29785
-
- Aug 07, 2006
-
-
Reid Spencer authored
llvm-svn: 29541
-
Reid Spencer authored
the removal of directories. Using std::remove is indiscriminate and can lead to the removal of things like /dev/null if run as root. The Path::eraseFromDisk method ensures that we only ever remove regular files or directories, but never character or block special nodes. This should clear up the problem with usage like: llvm-as -o /dev/null which is used in the llvm-test makefiles. llvm-svn: 29540
-
Reid Spencer authored
the erasure of non-file paths like /dev/null. llvm-svn: 29539
-
- Aug 01, 2006
-
-
Chris Lattner authored
llvm-svn: 29447
-
Chris Lattner authored
llvm-svn: 29443
-
Chris Lattner authored
llvm-svn: 29442
-
- Jul 29, 2006
-
-
Chris Lattner authored
llvm-svn: 29402
-
Chris Lattner authored
llvm-svn: 29400
-
Chris Lattner authored
instead of throwing an exception. This reduces the amount of code that is exposed to exceptions (e.g. FileUtilities), though it is clearly only one step along the way. llvm-svn: 29395
-
- Jul 18, 2006
-
-
Chris Lattner authored
"access"). Instead, just let the open call fail if the file doesn't exist. This reduces the # syscalls executed. llvm-svn: 29173
-
Chris Lattner authored
spacing llvm-svn: 29172
-
Chris Lattner authored
the size, not the whole stat buffer. llvm-svn: 29171
-
Chris Lattner authored
good. llvm-svn: 29170
-
Chris Lattner authored
llvm-svn: 29169
-
- Jul 13, 2006
-
-
Chris Lattner authored
llvm-svn: 29129
-
- Jul 07, 2006
-
-
Chris Lattner authored
llvm-svn: 29068
-
Chris Lattner authored
llvm-svn: 29058
-
- Jun 16, 2006
-
-
Reid Spencer authored
the Signals module that registered the handlers would cause the stack trace to be generated. Now, you must explicitly call PrintStackTraceOnErrorSignal in order for that to happen. llvm-svn: 28810
-
- Jun 09, 2006
-
-
Evan Cheng authored
Use execve when explicit environment variables ptr is available. Otherwise just use execv. llvm-svn: 28740
-
- Jun 08, 2006
-
-
Reid Spencer authored
Provide new llvm::sys::Program facilities for converting the stdout and stdin to binary mode. There is no standard way to do this and the available mechanisms are platform specific. Adjust the bytecode reader and writer to use these methods when their input is stdin or output is stdout. THis avoids the problem with \n writing CRLF to a bytecode file on windows. Patch Contributed by Michael Smith. llvm-svn: 28722
-
- May 14, 2006
-
-
Chris Lattner authored
handle it. Just silently fail. llvm-svn: 28291
-
- May 12, 2006
-
-
Chris Lattner authored
llvm-svn: 28260
-
Chris Lattner authored
llvm-svn: 28257
-
- Dec 22, 2005
-
-
Reid Spencer authored
* Allow the ExecuteAndWait to return negative values if a signal is detected as the reason for the child termination. This is needed to support bugpoint detecting bad things in its child processes. llvm-svn: 24960
-
Reid Spencer authored
dependent portion of the lib/Support/SlowOperationTimer code into the lib/System implementation where it can be ported to different platforms. llvm-svn: 24937
-
- Nov 14, 2005
-
-
Chris Lattner authored
that actually make sense. llvm-svn: 24352
-
Chris Lattner authored
the default allocator uses mmap. llvm-svn: 24349
-
- Aug 02, 2005
-
-
Chris Lattner authored
build will not fail llvm-svn: 22578
-