| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
- MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem.
Noticed by Ronald Pijnacker!
- Some parts of the System library must be build with exceptions on windows.
Based on a patch by Jay Foad!
llvm-svn: 83251
|
| |
|
|
| |
llvm-svn: 82552
|
| |
|
|
| |
llvm-svn: 82551
|
| |
|
|
|
|
|
| |
GetProcessId() was introduced only in Windows XP, and we want to support earlier
versions.
llvm-svn: 82548
|
| |
|
|
|
|
|
|
| |
RegisterHandler and use to disable the Win32 crash dialogs. These are a major blocker to any kind of automated testing.
Also, tweak the 'lit' test runner to set this variable unconditionally.
llvm-svn: 82537
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
- Could we just always implement this as __clear_cache for __GNUC__?
llvm-svn: 81655
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 80589
|
| |
|
|
| |
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: 78848
|
| |
|
|
| |
llvm-svn: 78823
|
| |
|
|
| |
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: 77913
|
| |
|
|
|
|
| |
project under the normal license, yay. :)
llvm-svn: 77823
|
| |
|
|
| |
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
|
| |
|
|
|
|
| |
project.
llvm-svn: 77213
|
| |
|
|
| |
llvm-svn: 77169
|
| |
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 75831
|