| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
portion fo the program name via sys::Path().getLast(). This makes error
messages more readable since this is invariably used only in error
messages. Instead of:
/path/to/llvm/bin/directory/toolname: error message
we will now get:
toolname: error message
Also, since we always have a program name (even if its defaulted), don't
check to see if it is set or not when generating error messages. This
eliminates a bunch of constant strings, saving a little under 1K of data.
llvm-svn: 29842
|
| |
|
|
|
|
|
|
|
|
| |
Adjust users of MappedFile to its new non-throwing interface. Note that in
most cases the lazy step of just throwing after a call to MappedFile was
installed. This was done in the name of incremental changes. Getting rid of
the new throw statements will take adjustment of interfaces and propagation
of errors to higher levels. Those changes will come in subsequent patches.
llvm-svn: 29817
|
| |
|
|
| |
llvm-svn: 29798
|
| |
|
|
|
|
|
|
| |
Adjust usage of the ExecuteAndWait function to use the last argument which
is the ErrMsg string. This is necessitated because this function no longer
throws exceptions on error.
llvm-svn: 29791
|
| |
|
|
|
|
|
|
| |
Make sys::Program::ExecuteAndWait not throw exceptions and update any
affected code. It now return -9999 to signal that the program couldn't be
executed. Only one case (in bugpoint) actually examines the result code.
llvm-svn: 29785
|
| |
|
|
|
|
| |
#includes it.
llvm-svn: 29639
|
| |
|
|
|
|
|
| |
to build a loadable module is now correctly defined and documented so this
workaround isn't needed any longer.
llvm-svn: 29553
|
| |
|
|
|
|
| |
suppressed.
llvm-svn: 29477
|
| |
|
|
| |
llvm-svn: 29399
|
| |
|
|
|
|
|
|
| |
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: 29394
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 29191
|
| |
|
|
| |
llvm-svn: 29151
|
| |
|
|
|
|
| |
to catch it. Other minor cleanups.
llvm-svn: 29050
|
| |
|
|
| |
llvm-svn: 29045
|
| |
|
|
| |
llvm-svn: 29028
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Low Level Virtual Machine (http://llvm.org/):
llvm version 1.8cvs
DEBUG build with assertions.
instead of like this:
Low Level Virtual Machine (llvm) 1.8cvs (see http://llvm.org/) ASSERTIONS ENABLED
Also, add a place for vendor version info.
llvm-svn: 29020
|
| |
|
|
|
|
|
|
|
| |
Refactor the Graph writing code to use a common implementation which is
now in lib/Support/GraphWriter.cpp. This completes the PR.
Patch by Anton Korobeynikov. Thanks, Anton!
llvm-svn: 28925
|
| |
|
|
|
|
| |
vtables for (e.g.) Instruction from being emitted into every .o file.
llvm-svn: 28898
|
| |
|
|
|
|
| |
2. Add vector support.
llvm-svn: 28807
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 28700
|
| |
|
|
|
|
|
|
|
| |
through to gcc when its being used as a linker. This allows -L and -l
(and any other) options to be added so that non-complete bytecode files
can be processed with bugpoint. The -Xlinker option can be added as many
times as needed.
llvm-svn: 28692
|
| |
|
|
|
|
|
|
|
| |
built with CommandLine.h will want the --version option to report that the
tool belongs to LLVM. To override simply pass a void func() to the
cl::SetVersionPrinter() function and that void func() will be called when
it is time to print the version information.
llvm-svn: 28687
|
| |
|
|
|
|
|
| |
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.
llvm-svn: 28610
|
| |
|
|
|
|
|
| |
/bzlib.c:126: warning: string length `1056' is greater than the length `509' ISO
C89 compilers are required to support
llvm-svn: 28602
|
| |
|
|
|
|
| |
by Anton Korobeynikov! This is a step towards closing PR786.
llvm-svn: 28447
|
| |
|
|
|
|
|
| |
Add an additional catch block to ensure that this function can't throw any
exceptions, even one's we're not expecting.
llvm-svn: 28309
|
| |
|
|
| |
llvm-svn: 28010
|
| |
|
|
| |
llvm-svn: 26409
|
| |
|
|
| |
llvm-svn: 26401
|
| |
|
|
| |
llvm-svn: 25958
|
| |
|
|
| |
llvm-svn: 25652
|
| |
|
|
| |
llvm-svn: 25649
|
| |
|
|
| |
llvm-svn: 25509
|
| |
|
|
| |
llvm-svn: 25382
|
| |
|
|
| |
llvm-svn: 25379
|
| |
|
|
|
|
|
|
| |
the bzip2 homepage, only ancient (gcc 2.7.x ?) versions of GCC
require this? It certainly isn't needed for the current bzip2
sources.
llvm-svn: 25013
|
| |
|
|
|
|
|
| |
to try building LLVM on HP-UX! (the Right Way seems to be to tear out
the ancient STL that HP ship and use http://incubator.apache.org/stdcxx/ )
llvm-svn: 25012
|
| |
|
|
|
|
|
| |
Move the system dependent portion to lib/System/*/Alarm.inc. This makes the
SlowOperationInformer platform independent.
llvm-svn: 24938
|
| |
|
|
| |
llvm-svn: 24374
|
| |
|
|
| |
llvm-svn: 23940
|
| |
|
|
|
|
| |
This should speed up build times.
llvm-svn: 23934
|
| |
|
|
| |
llvm-svn: 23128
|
| |
|
|
|
|
|
| |
opts than they take directly. Thanks to John C for pointing this problem
out to me!
llvm-svn: 22717
|
| |
|
|
|
|
|
|
| |
'opt x y'). This fixes PR493.
Patch contributed by Owen Anderson!
llvm-svn: 22705
|
| |
|
|
|
|
|
| |
instead of E for exponentials (e.g. 1.234D-43). Add support for this
notation.
llvm-svn: 22574
|
| |
|
|
| |
llvm-svn: 22523
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This chagne just renames some sys::Path methods to ensure they are not
misused. The Path documentation now divides methods into two dimensions:
Path/Disk and accessor/mutator. Path accessors and mutators only operate
on the Path object itself without making any disk accesses. Disk accessors
and mutators will also access or modify the file system. Because of the
potentially destructive nature of disk mutators, it was decided that all
such methods should end in the work "Disk" to ensure the user recognizes
that the change will occur on the file system. This patch makes that
change. The method name changes are:
makeReadable -> makeReadableOnDisk
makeWriteable -> makeWriteableOnDisk
makeExecutable -> makeExecutableOnDisk
setStatusInfo -> setStatusInfoOnDisk
createDirectory -> createDirectoryOnDisk
createFile -> createFileOnDisk
createTemporaryFile -> createTemporaryFileOnDisk
destroy -> eraseFromDisk
rename -> renamePathOnDisk
These changes pass the Linux Deja Gnu tests.
llvm-svn: 22354
|