- Oct 23, 2009
-
-
Ted Kremenek authored
Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents it being correct within a multithreaded context. This address: PR 5277 (Program::Wait is unsafe to call from multiple threads). Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into another solution. llvm-svn: 84903
-
- Oct 12, 2009
-
-
Edward O'Callaghan authored
llvm-svn: 83823
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
ExecuteAndWait. llvm-svn: 82522
-
- Sep 15, 2009
-
-
Mikhail Glushenkov authored
GetProcessId was introduced only in XP. As a bonus, this change makes Program objects copyable, since Program is now basically a PID. llvm-svn: 81826
-
- Sep 11, 2009
-
-
Dan Gohman authored
working. To support this, add an is_displayed() function to raw_ostream, and generalize Process::StandardOutIsDisplayed and friends in order to support it. Also, call RemoveFileOnSignal before creating a file instead of after, so that the file isn't left behind if the program is interrupted between when the file is created and RemoveFileOnSignal is called. While here, add a -S to llvm-extract and port it to IRReader so that it supports assembly input. llvm-svn: 81568
-
- Sep 09, 2009
-
-
Benjamin Kramer authored
clang's testsuite. llvm-svn: 81333
-
Mikhail Glushenkov authored
Thanks to Duncan Sands for spotting this. llvm-svn: 81328
-
- Sep 08, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 81252
-
Mikhail Glushenkov authored
llvm-svn: 81249
-
Mikhail Glushenkov authored
llvm-svn: 81247
-
Mikhail Glushenkov authored
llvm-svn: 81246
-
- Sep 07, 2009
-
-
Duncan Sands authored
equivalent to SIG_IGN. llvm-svn: 81144
-
- Sep 06, 2009
-
-
Duncan Sands authored
about by icc (#593, partial). Patch by Erick Tryzelaar. llvm-svn: 81115
-
Duncan Sands authored
doesn't warn about unreachable instructions. Patch by Erick Tryzelaar (#111). llvm-svn: 81110
-
- Sep 03, 2009
-
-
Daniel Dunbar authored
reliable. llvm-svn: 80863
-
- Aug 24, 2009
-
-
Chris Lattner authored
llvm-svn: 79873
-
Chris Lattner authored
forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
-
- Aug 19, 2009
-
-
Owen Anderson authored
we can find a way to cache the answer that isn't racy. llvm-svn: 79472
-
- Aug 17, 2009
-
-
Owen Anderson authored
llvm-svn: 79254
-
- Aug 07, 2009
-
-
Dan Gohman authored
llvm-svn: 78363
-
- Aug 05, 2009
-
-
Dan Gohman authored
llvm-svn: 78239
-
Dan Gohman authored
llvm-svn: 78215
-
Dan Gohman authored
fork call. This eliminates a need for <iostream>. Also remove needless fsync calls. llvm-svn: 78131
-
Dan Gohman authored
Add a comment explaining why. llvm-svn: 78128
-
Dan Gohman authored
and 126 if it is not executable. llvm-svn: 78120
-
- Aug 04, 2009
-
-
Daniel Dunbar authored
distinguish that the result is errno, so it can't use it to provide more information about the error (it also exposes the numeric value of errno). llvm-svn: 78098
-
- Aug 03, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77953
-
- Jul 29, 2009
-
-
Dan Gohman authored
llvm-svn: 77405
-
Dan Gohman authored
slashes, just go with it, regardless of whether it looks like it will be executable. This follows the behavior of sh(1) more closely. llvm-svn: 77396
-
Dan Gohman authored
llvm-svn: 77392
-
Benjamin Kramer authored
This fixes clang on non-darwin platforms if a file called 'ld' or 'as' is in the working directory. Based on patch by Pawel Worach! llvm-svn: 77379
-
- Jul 23, 2009
-
-
Reid Kleckner authored
bots like the BumpPtrAllocator changes. llvm-svn: 76902
-
Reid Kleckner authored
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. llvm-svn: 76838
-
Reid Kleckner authored
out of memory, and also make the default memory manager allocate more memory when it runs out. Also, switch function stubs and global data over to using the BumpPtrAllocator. This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB of memory, and instead allocates in 512K slabs. I suspect this size could go lower, especially on embedded platforms, now that more slabs can be allocated. llvm-svn: 76828
-
- Jul 18, 2009
-
-
Mikhail Glushenkov authored
Implemented by moving the code out of static functions into methods of Program class. llvm-svn: 76340
-
- Jul 17, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 76229
-
- Jul 12, 2009
-
-
Daniel Dunbar authored
- Patch by Viktor Kutuzov! - Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths. llvm-svn: 75424
-
Chris Lattner authored
"UNIX paths can contain non-ASCII characters, so Path::isValid() should not reject paths with such characters in them. The attached patch removes the check from Path::isValid()." patch by Benjamin Kramer! llvm-svn: 75421
-
- Jul 08, 2009
-
-
David Greene authored
Add an ExecuteNoWait interface to support asynchronous process spawning. llvm-svn: 75055
-
- Jul 01, 2009
-
-
Jeffrey Yasskin authored
Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. llvm-svn: 74621
-