| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 94743
|
| |
|
|
|
|
|
|
|
| |
TimeValue()::now().toEpochTime() is supposed to be the same as time(),
but it wasn't, because toEpoch subtracted PosixZeroTime, but now()
didn't add PosixZeroTime!
Add a unittest to check this works.
llvm-svn: 94178
|
| |
|
|
| |
llvm-svn: 92011
|
| |
|
|
| |
llvm-svn: 91620
|
| |
|
|
|
|
| |
is not used by anything performance sensitive, so just use std::string.
llvm-svn: 91528
|
| |
|
|
|
|
| |
a fixed size buffer is perfectly fine.
llvm-svn: 91527
|
| |
|
|
| |
llvm-svn: 90937
|
| |
|
|
| |
llvm-svn: 90083
|
| |
|
|
|
|
|
|
|
| |
case where realpath() fails. When this occurs we segfault trying to
create a std::string from a NULL pointer.
Fixes PR5635.
llvm-svn: 90082
|
| |
|
|
|
|
| |
regards to comments from 89765 post review.
llvm-svn: 89848
|
| |
|
|
| |
llvm-svn: 89786
|
| |
|
|
| |
llvm-svn: 89765
|
| |
|
|
|
|
| |
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
|