- Jul 23, 2009
-
-
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
-
- Jun 26, 2009
-
-
Owen Anderson authored
Patch by Xerxes Ranby. llvm-svn: 74283
-
- Jun 25, 2009
-
-
Owen Anderson authored
Windows people, please double-check/patch this. llvm-svn: 74209
-
- Jun 18, 2009
-
-
Owen Anderson authored
llvm-svn: 73710
-
Owen Anderson authored
Insert a SmartMutex templated class into the class hierarchy, which takes a 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
-
- Jun 16, 2009
-
-
Owen Anderson authored
llvm-svn: 73545
-
- Jun 15, 2009
-
-
Dan Gohman authored
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
-
Chris Lattner authored
absolute or not, based on a patch by Gregory Curfman! llvm-svn: 73368
-
- Jun 04, 2009
-
-
Torok Edwin authored
llvm-svn: 72854
-
- May 30, 2009
-
-
Bill Wendling authored
llvm-svn: 72604
-
- May 23, 2009
-
-
Jay Foad authored
llvm-svn: 72332
-
- May 18, 2009
-
-
Douglas Gregor authored
width of a terminal. Don't try to get the width of a terminal if we don't have this header. llvm-svn: 72018
-
- May 11, 2009
-
-
Douglas Gregor authored
fix Clang PRs 4148 and 4183. llvm-svn: 71448
-
- Apr 20, 2009
-
-
Daniel Dunbar authored
clang: error: unable to make temporary file: /etc/cc: can't make unique filename: Permission denied instead of clang: error: unable to make temporary file: /etc/cc: can't make unique filenamePermission denied for example. Also, audited the uses of MakeErrMsg to make the prefix strings consistent (not end with newline/punctuation/space/": "). llvm-svn: 69626
-
- Apr 13, 2009
-
-
Chris Lattner authored
patch by Alexei Svitkine! llvm-svn: 68929
-
- Mar 31, 2009
-
-
Daniel Dunbar authored
llvm::sys::getOS{Name,Version}. Right now the implementation just derives from LLVM_HOSTTRIPLE (which is wrong, but it doesn't look like we have a define for the target triple). Ideally this routine would actually be able to compute the triple for targets we care about. llvm-svn: 68118
-
- Mar 23, 2009
-
-
Chris Lattner authored
llvm-svn: 67510
-
Chris Lattner authored
were when we came around, not to their default handler. This should fix PR3848 llvm-svn: 67509
-
Chris Lattner authored
llvm-svn: 67508
-
- Mar 08, 2009
-
-
Chris Lattner authored
llvm-svn: 66386
-
- Mar 07, 2009
-
-
Chris Lattner authored
signal handlers to prevent reentrance on unrelated things (a sigabort where the handle bus errors) also, clear the signal mask so that the signal doesn't infinitely reissue. This fixes rdar://6654827 - Crash causes clang to loop llvm-svn: 66330
-
- Mar 05, 2009
-
-
Chris Lattner authored
llvm-svn: 66171
-
- Mar 04, 2009
-
-
Chris Lattner authored
arbitrary functions to be run when a crash happens. Delete RemoveDirectoryOnSignal as it is dead and has never had clients. Change PrintStackTraceOnErrorSignal to be implemented in terms of AddSignalHandler. I updated the Win32 versions of these APIs, but can't test them. If there are any problems, I'd be happy to fix them as well. llvm-svn: 66072
-
- Mar 02, 2009
-
-
Chris Lattner authored
Ed Schouten! llvm-svn: 65882
-
- Feb 19, 2009
-
-
Chris Lattner authored
symlink. We really want the ultimate executable being run, not the symlink. This lets clang find its headers when invoked through a symlink. rdar://6602012 llvm-svn: 65017
-
- Feb 15, 2009
-
-
Mikhail Glushenkov authored
"system() declared with attribute warn_unused_result." llvm-svn: 64574
-
Mikhail Glushenkov authored
llvm-svn: 64573
-
- Feb 10, 2009
-
-
Dan Gohman authored
This fixes PR3535. llvm-svn: 64224
-
- Feb 08, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 64101
-
Mikhail Glushenkov authored
Also removes some trailing whitespace and fixes one 80-column violation. llvm-svn: 64094
-
- Jan 22, 2009
-
-
Chris Lattner authored
llvm-svn: 62776
-
- Dec 06, 2008
-
-
Dan Gohman authored
since %p isn't formatted consistently, but obviously plain %x is wrong. PRIxPTR with a cast to uintptr_t would work here, but that requires inconvenient build-system changes. %lu works on all current and foreseable future hosts. llvm-svn: 60616
-
- Dec 05, 2008
-
-
Dan Gohman authored
Wesley Peck, with a few fixes by me. llvm-svn: 60605
-