hanchenye-llvm-project/llvm/lib/System/Win32
Reid Kleckner 1a722d9b73 Make the JIT code emitter properly retry and ask for more memory when it runs
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
2009-07-23 00:49:59 +00:00
..
Alarm.inc Fix the Win32 VS2008 build: 2009-03-19 23:26:52 +00:00
DynamicLibrary.inc remove two methods that no longer exist. 2009-07-08 01:07:39 +00:00
Host.inc Add llvm::sys::getHostTriple and remove 2009-03-31 17:30:15 +00:00
Memory.inc Make the JIT code emitter properly retry and ask for more memory when it runs 2009-07-23 00:49:59 +00:00
Mutex.inc Insert a SmartMutex templated class into the class hierarchy, which takes a template parameter specifying whether this mutex 2009-06-18 17:53:17 +00:00
Path.inc Use llvm_report_error, not llvm_unreachable. 2009-07-12 21:01:49 +00:00
Process.inc Fix comments. 2009-06-04 08:18:25 +00:00
Program.inc Remove duplication in Program::Execute{And,No}Wait. 2009-07-18 21:43:12 +00:00
RWMutex.inc Give RWMutex the SmartRWMutex treatment too. 2009-06-18 18:26:15 +00:00
Signals.inc eraseFromDisk no longer throws. 2009-07-09 16:17:28 +00:00
ThreadLocal.inc Fixed assert that checks return value of TlsSetValue. 2009-06-30 14:12:28 +00:00
TimeValue.inc Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Win32.h Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00