- Aug 24, 2009
-
-
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 13, 2009
-
-
Dan Gohman authored
llvm-svn: 78848
-
- Aug 12, 2009
-
-
Chris Lattner authored
llvm-svn: 78823
-
- 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
-
- Aug 02, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77913
-
Chris Lattner authored
project under the normal license, yay. :) llvm-svn: 77823
-
- 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 27, 2009
-
-
Douglas Gregor authored
project. llvm-svn: 77213
-
- Jul 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77169
-
- 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 15, 2009
-
-
Ted Kremenek authored
llvm-svn: 75831
-
- Jul 12, 2009
-
-
Daniel Dunbar authored
llvm-svn: 75429
-
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 09, 2009
-
-
Chris Lattner authored
llvm-svn: 75139
-
- Jul 08, 2009
-
-
David Greene authored
Add an ExecuteNoWait interface to support asynchronous process spawning. llvm-svn: 75055
-
Chris Lattner authored
llvm-svn: 74982
-
Chris Lattner authored
llvm-svn: 74981
-
Chris Lattner authored
llvm-svn: 74977
-
- Jul 07, 2009
-
-
Chris Lattner authored
This fixes PR4512 and eliminating static ctors is always good. Losing thread safety is unfortunate, but the code is just incredibly poorly designed. If someone is interested, the "right" solution is to split DynamicLibrary.cpp into two separate pieces: a stateless piece in libsystem, and a simple support file in libsupport that has the "state" (e.g. AddSymbol) in managed static objects. Doing this would both fix memory leaks we already have, as well as make the code thread safe again. it would also make sense to move all the unix specific code in System/DynamicLibrary.cpp into System/Unix/DynamicLibrary.inc. llvm-svn: 74927
-
Chris Lattner authored
llvm-svn: 74926
-
Chris Lattner authored
llvm-svn: 74924
-
- Jul 06, 2009
-
-
Owen Anderson authored
llvm-svn: 74854
-
Owen Anderson authored
Patch by Xerxes Ranby. llvm-svn: 74846
-