| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
not to work any more on linux.
llvm-svn: 86481
|
| |
|
|
| |
llvm-svn: 85782
|
| |
|
|
| |
llvm-svn: 85575
|
| |
|
|
|
|
| |
direct inclusion edge from System to Support.
llvm-svn: 85086
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 83823
|
| |
|
|
|
|
| |
ExecuteAndWait.
llvm-svn: 82522
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
clang's testsuite.
llvm-svn: 81333
|
| |
|
|
|
|
| |
Thanks to Duncan Sands for spotting this.
llvm-svn: 81328
|
| |
|
|
| |
llvm-svn: 81252
|
| |
|
|
| |
llvm-svn: 81249
|
| |
|
|
| |
llvm-svn: 81247
|
| |
|
|
| |
llvm-svn: 81246
|
| |
|
|
|
|
| |
equivalent to SIG_IGN.
llvm-svn: 81144
|
| |
|
|
|
|
| |
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
|
| |
|
|
|
|
|
| |
doesn't warn about unreachable instructions. Patch
by Erick Tryzelaar (#111).
llvm-svn: 81110
|
| |
|
|
|
|
| |
reliable.
llvm-svn: 80863
|
| |
|
|
| |
llvm-svn: 79873
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
we can find a way to cache the answer that isn't racy.
llvm-svn: 79472
|
| |
|
|
| |
llvm-svn: 79254
|
| |
|
|
| |
llvm-svn: 78363
|
| |
|
|
| |
llvm-svn: 78239
|
| |
|
|
| |
llvm-svn: 78215
|
| |
|
|
|
|
|
| |
fork call. This eliminates a need for <iostream>. Also remove
needless fsync calls.
llvm-svn: 78131
|
| |
|
|
|
|
| |
Add a comment explaining why.
llvm-svn: 78128
|
| |
|
|
|
|
| |
and 126 if it is not executable.
llvm-svn: 78120
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 77953
|
| |
|
|
| |
llvm-svn: 77405
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 77392
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
bots like the BumpPtrAllocator changes.
llvm-svn: 76902
|
| |
|
|
|
|
| |
build failure involving memset.
llvm-svn: 76838
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Implemented by moving the code out of static functions into methods of Program
class.
llvm-svn: 76340
|
| |
|
|
| |
llvm-svn: 76229
|
| |
|
|
|
|
|
|
| |
- Patch by Viktor Kutuzov!
- Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths.
llvm-svn: 75424
|
| |
|
|
|
|
|
|
| |
reject paths with such characters in them. The attached patch removes the check from Path::isValid()."
patch by Benjamin Kramer!
llvm-svn: 75421
|
| |
|
|
| |
llvm-svn: 75055
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Patch by Xerxes Ranby.
llvm-svn: 74283
|
| |
|
|
|
|
| |
Windows people, please double-check/patch this.
llvm-svn: 74209
|
| |
|
|
| |
llvm-svn: 73710
|
| |
|
|
|
|
|
|
| |
template parameter specifying whether this mutex
should become a no-op when not running in multithreaded mode. Make sys::Mutex a typedef of SmartMutex<false>, to preserve source compatibility.
llvm-svn: 73709
|
| |
|
|
| |
llvm-svn: 73545
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
specific one. The GNU one is chosen when _GNU_SOURCE is defined. g++ always
defines _GNU_SOURCE on linux platforms because glibc's headers won't compile
in C++ mode without it. The GNU strerror_r doesn't always modify the buffer
which causes empty error messages on linux.
This patch changes MakeErrMsg to use the return value of strerror_r to get
the string instead of assuming the buffer will be modified, on GLIBC.
Patch by Benjamin Kramer!
llvm-svn: 73396
|