| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This adds location info for all llvm_unreachable calls (which is a macro now) in
!NDEBUG builds.
In NDEBUG builds location info and the message is off (it only prints
"UREACHABLE executed").
llvm-svn: 75640
|
|
|
|
|
|
|
|
|
| |
Make llvm_unreachable take an optional string, thus moving the cerr<< out of
line.
LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for
NDEBUG builds.
llvm-svn: 75379
|
|
|
|
|
|
| |
and abort()/exit() -> llvm_report_error().
llvm-svn: 75363
|
|
|
|
| |
llvm-svn: 70437
|
|
|
|
|
|
| |
abstraction for CommandLine.
llvm-svn: 68588
|
|
|
|
|
|
| |
* Simplified if statement
llvm-svn: 68163
|
|
|
|
| |
llvm-svn: 67892
|
|
|
|
|
|
|
| |
option to make the -fno- form on the option. We also document the new
form in the CommandLine documentation.
llvm-svn: 63559
|
|
|
|
|
|
| |
is necessary for eventual gcc commmand line compatibility.
llvm-svn: 63384
|
|
|
|
| |
llvm-svn: 63171
|
|
|
|
| |
llvm-svn: 62688
|
|
|
|
|
|
|
| |
Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.
llvm-svn: 62372
|
|
|
|
| |
llvm-svn: 61378
|
|
|
|
| |
llvm-svn: 60770
|
|
|
|
|
|
|
|
|
| |
instead of requiring all "short description" strings to begin with
two spaces. This makes these strings less mysterious, and it fixes
some cases where short description strings mistakenly did not
begin with two spaces.
llvm-svn: 57521
|
|
|
|
|
|
|
| |
once (ie, at two different places in the source, not two times on the
commandline).
llvm-svn: 51771
|
|
|
|
| |
llvm-svn: 50659
|
|
|
|
| |
llvm-svn: 50355
|
|
|
|
| |
llvm-svn: 48801
|
|
|
|
|
|
|
| |
marked read-write. Use const so that they can be allocated in a
read-only segment.
llvm-svn: 48800
|
|
|
|
|
|
| |
invalid command-line options.
llvm-svn: 47523
|
|
|
|
| |
llvm-svn: 47377
|
|
|
|
|
|
| |
annoying warnings.
llvm-svn: 47367
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 42788
|
|
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
|
|
|
|
|
|
| |
for a target-dependent default with a command-line override; this way
should be generally usable.
llvm-svn: 37285
|
|
|
|
|
|
|
|
|
| |
handlers (like the pass list). My previous fix only supported *new* command
line options, not additions to old ones.
This fixes test/Feature/load_module.ll
llvm-svn: 35935
|
|
|
|
| |
llvm-svn: 35905
|
|
|
|
|
|
| |
This fixes llvm-ar.
llvm-svn: 35727
|
|
|
|
|
|
|
|
|
|
| |
This dramatically reduce the amount of memory allocated by the commandline stuff
at static init time, changing it to build local data structures when ParseCommandLineOptions
is called. In a dummy empty program that links some llvm libraries, this reduces
the number of malloc'd bytes from 4864 to 3360 on entry to main. Most of that
memory is now allocated by non-commandline related stuff.
llvm-svn: 35701
|
|
|
|
| |
llvm-svn: 35690
|
|
|
|
|
|
| |
without exiting program.
llvm-svn: 33737
|
|
|
|
| |
llvm-svn: 32340
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 31927
|
|
|
|
| |
llvm-svn: 30925
|
|
|
|
| |
llvm-svn: 30922
|
|
|
|
| |
llvm-svn: 30725
|
|
|
|
| |
llvm-svn: 29917
|
|
|
|
|
|
|
|
| |
anchor methods to others. This eliminates the vtable/template method bloat
in .o files that defining a cl::opt used to impose (~4K per .o file for one
cp::opt<unsigned>).
llvm-svn: 29909
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
suppressed.
llvm-svn: 29477
|
|
|
|
| |
llvm-svn: 29191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 28010
|
|
|
|
| |
llvm-svn: 25379
|
|
|
|
|
|
|
| |
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
|