| Commit message (Collapse) | Author | Age | Files | Lines | 
| ... |  | 
| | 
| 
| 
|  | 
llvm-svn: 29402
 | 
| | 
| 
| 
|  | 
llvm-svn: 29401
 | 
| | 
| 
| 
|  | 
llvm-svn: 29400
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
instead of throwing an exception.  This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
 | 
| | 
| 
| 
|  | 
llvm-svn: 29302
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Put the rest of lib/System into LinkAllVMCore.h. This makes all of
lib/System available to programs that #include LinkALlVMCore.h so that
loadable modules linked into those programs can depend on all of lib/System
being available.
llvm-svn: 29288
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
1. Move IncludeFile.h to System library
2. Move IncludeFile.cpp to System library
3. #1 and #2 required to prevent cyclic library dependencies for libSystem
4. Convert all existing uses of Support/IncludeFile.h to System/IncludeFile.h
5. Add IncludeFile support to various lib/System classes.
6. Add new lib/System classes to LinkAllVMCore.h
All this in an attempt to pull in lib/System to what's required for VMCore
llvm-svn: 29287
 | 
| | 
| 
| 
| 
| 
| 
|  | 
"access").  Instead, just let the open call fail if the file doesn't exist.
This reduces the # syscalls executed.
llvm-svn: 29173
 | 
| | 
| 
| 
| 
| 
|  | 
spacing
llvm-svn: 29172
 | 
| | 
| 
| 
| 
| 
|  | 
the size, not the whole stat buffer.
llvm-svn: 29171
 | 
| | 
| 
| 
| 
| 
|  | 
good.
llvm-svn: 29170
 | 
| | 
| 
| 
|  | 
llvm-svn: 29169
 | 
| | 
| 
| 
|  | 
llvm-svn: 29129
 | 
| | 
| 
| 
| 
| 
|  | 
don't exist.
llvm-svn: 29068
 | 
| | 
| 
| 
|  | 
llvm-svn: 29062
 | 
| | 
| 
| 
|  | 
llvm-svn: 29058
 | 
| | 
| 
| 
|  | 
llvm-svn: 29055
 | 
| | 
| 
| 
|  | 
llvm-svn: 29049
 | 
| | 
| 
| 
|  | 
llvm-svn: 29048
 | 
| | 
| 
| 
|  | 
llvm-svn: 29036
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
the Signals module that registered the handlers would cause the stack trace
to be generated. Now, you must explicitly call PrintStackTraceOnErrorSignal
in order for that to happen.
llvm-svn: 28810
 | 
| | 
| 
| 
| 
| 
| 
|  | 
Use execve when explicit environment variables ptr is available. Otherwise
just use execv.
llvm-svn: 28740
 | 
| | 
| 
| 
|  | 
llvm-svn: 28729
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
Change the file size field of StatusInfo to be uint64_t instead of size_t
so that we know it is always 64 bits. This prevents some overflow on
systems where size_t is 32 bits when it ought to be 64.
llvm-svn: 28726
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Provide new llvm::sys::Program facilities for converting the stdout and
stdin to binary mode. There is no standard way to do this and the available
mechanisms are platform specific. Adjust the bytecode reader and writer to
use these methods when their input is stdin or output is stdout. THis avoids
the problem with \n writing CRLF to a bytecode file on windows.
Patch Contributed by Michael Smith.
llvm-svn: 28722
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Break the "IncludeFile" mechanism into its own header file and adjust other
files accordingly. Use this facility for the IntrinsicInst problem which
was the subject of PR800.
More to follow on this.
llvm-svn: 28709
 | 
| | 
| 
| 
| 
| 
|  | 
Add support for Graphviz. Patch contributed by Anton Korobeynikov.
llvm-svn: 28684
 | 
| | 
| 
| 
|  | 
llvm-svn: 28639
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.
llvm-svn: 28614
 | 
| | 
| 
| 
|  | 
llvm-svn: 28292
 | 
| | 
| 
| 
| 
| 
|  | 
handle it.  Just silently fail.
llvm-svn: 28291
 | 
| | 
| 
| 
|  | 
llvm-svn: 28260
 | 
| | 
| 
| 
|  | 
llvm-svn: 28257
 | 
| | 
| 
| 
| 
| 
|  | 
without explicit permission.
llvm-svn: 28157
 | 
| | 
| 
| 
|  | 
llvm-svn: 28023
 | 
| | 
| 
| 
|  | 
llvm-svn: 27761
 | 
| | 
| 
| 
|  | 
llvm-svn: 27651
 | 
| | 
| 
| 
|  | 
llvm-svn: 26748
 | 
| | 
| 
| 
| 
| 
| 
|  | 
of being unable to search for symbols in an EXE.  It will also allow other
existing hacks to be improved.
llvm-svn: 25805
 | 
| | 
| 
| 
|  | 
llvm-svn: 25795
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
* Allow the ExecuteAndWait to return negative values if a signal is
  detected as the reason for the child termination. This is needed to
  support bugpoint detecting bad things in its child processes.
llvm-svn: 24960
 | 
| | 
| 
| 
| 
| 
| 
|  | 
dependent portion of the lib/Support/SlowOperationTimer code into the
lib/System implementation where it can be ported to different platforms.
llvm-svn: 24937
 | 
| | 
| 
| 
| 
| 
|  | 
that actually make sense.
llvm-svn: 24352
 | 
| | 
| 
| 
| 
| 
|  | 
the default allocator uses mmap.
llvm-svn: 24349
 | 
| | 
| 
| 
|  | 
llvm-svn: 23940
 | 
| | 
| 
| 
| 
| 
|  | 
This should speed up build times.
llvm-svn: 23937
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.
llvm-svn: 23003
 | 
| | 
| 
| 
|  | 
llvm-svn: 22587
 | 
| | 
| 
| 
|  | 
llvm-svn: 22585
 | 
| | 
| 
| 
|  | 
llvm-svn: 22582
 |