- 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
-
- Jul 30, 2005
-
-
Andrew Lenharth authored
llvm-svn: 22554
-
- Jul 28, 2005
-
-
Reid Spencer authored
appended to a path string that didn't end in a slash, yielding invalid path names. Path contribute by Nicholas Riley. llvm-svn: 22539
-
- Jul 12, 2005
-
-
Reid Spencer authored
Add a Mutex class for thread synchronization in a platform-independent way. The current implementation only supports pthreads. Win32 use of Critical Sections will be added later. The design permits other threading models to be used if (and only if) pthreads is not available. llvm-svn: 22403
-
- Jul 09, 2005
-
-
Jeff Cohen authored
2. Fix bug in eraseSuffix where it allows /path/.suffix to become /path/ llvm-svn: 22362
-
- Jul 08, 2005
-
-
Reid Spencer authored
exist but just return false instead. llvm-svn: 22361
-
Reid Spencer authored
1. Use isValid() to check validity of the resulting path name in the eraseSuffix even though we can't think of a case where eraseSuffix could possibly cause an invalid path name. 2. Rewrite isValid() to not use the deprecated realpath function any more. It now just uses isascii to make sure all the characters are legit. llvm-svn: 22359
-
Jeff Cohen authored
llvm-svn: 22357
-
Jeff Cohen authored
llvm-svn: 22355
-
Reid Spencer authored
This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
-
Reid Spencer authored
Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
-
- Jul 07, 2005
-
-
Reid Spencer authored
Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
-
- Jun 02, 2005
-
-
Reid Spencer authored
configure seems to find it on Cygwin but linking against it fails. llvm-svn: 22189
-
- May 16, 2005
-
-
Duraid Madina authored
llvm-svn: 22081
-
- May 06, 2005
-
-
Misha Brukman authored
llvm-svn: 21704
-
- Apr 22, 2005
-
-
Alkis Evlogimenos authored
llvm-svn: 21453
-
Misha Brukman authored
llvm-svn: 21422
-
- Apr 21, 2005
-
-
Reid Spencer authored
methods that were recently added to the interface. llvm-svn: 21401
-
Reid Spencer authored
Standardize the error messages to be in "path: what failed: why" format. Also attempt to use the correct errno to ThrowErrno in situations where the errno value is erased by subsequent system calls. llvm-svn: 21385
-
Reid Spencer authored
Allow the ThrowErrno function to optionally accept an error number parameter so that callers can specify the error number to be used. llvm-svn: 21384
-
- Apr 20, 2005
-
-
Misha Brukman authored
result in returning executable files that won't be runnable. llvm-svn: 21378
-
Misha Brukman authored
Patch by Markus Oberhumer. llvm-svn: 21377
-
Misha Brukman authored
Thanks to Markus Oberhumer for the patch! llvm-svn: 21370
-
- Mar 02, 2005
-
-
Reid Spencer authored
llvm-svn: 20397
-
- Feb 14, 2005
-
-
Chris Lattner authored
llvm-svn: 20184
-
- Feb 13, 2005
-
-
Chris Lattner authored
This causes garbage to be printed out after error messages. llvm-svn: 20165
-
- Jan 16, 2005
-
-
Chris Lattner authored
llvm-svn: 19605
-
- Jan 14, 2005
-
-
Reid Spencer authored
llvm-svn: 19544
-
- Jan 10, 2005
-
-
Reid Spencer authored
gdb debugger doesn't get confused on which file it is reading (the one in lib/System or the one in lib/System/{Win32,Unix}) llvm-svn: 19426
-
- Jan 08, 2005
-
-
Jeff Cohen authored
on 64-bit Windows. llvm-svn: 19393
-