History log of /llvm-project/llvm/lib/Support/CommandLine.cpp (Results 351 – 375 of 443)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f275a49f 20-Feb-2008 Anton Korobeynikov <asl@math.spbu.ru>

Add 'sink' cmdline option. Patch by Mikhail Glushenkov!

llvm-svn: 47377


# 579f0713 20-Feb-2008 Anton Korobeynikov <asl@math.spbu.ru>

Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.

llvm-svn: 47367


Revision tags: llvmorg-2.2.0
# f3ebc3f3 29-Dec-2007 Chris Lattner <sabre@nondot.org>

Remove attribution from file headers, per discussion on llvmdev.

llvm-svn: 45418


# 66966403 09-Oct-2007 Dan Gohman <gohman@apple.com>

Pass argc by value, not by reference, since it isn't modified.

llvm-svn: 42788


# 2c6a821f 08-Oct-2007 Dan Gohman <gohman@apple.com>

Move the space in overview output for commands out of each of the
commands and into the common code.

llvm-svn: 42752


Revision tags: llvmorg-2.1.0, llvmorg-2.0.0
# 82810c8a 22-May-2007 Dale Johannesen <dalej@apple.com>

Make tail merging the default, except on powerPC. There was no prior art
for a target-dependent default with a command-line override; this way
should be generally usable.

llvm-svn: 37285


# af039c53 12-Apr-2007 Chris Lattner <sabre@nondot.org>

improve the patch for PR1318 to also support grouped options with custom
handlers (like the pass list). My previous fix only supported *new* command
line options, not additions to old ones.

This fi

improve the patch for PR1318 to also support grouped options with custom
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

show more ...


# 83b53a59 11-Apr-2007 Chris Lattner <sabre@nondot.org>

Fix PR1318 by reacting appropriately to a mutating option list.

llvm-svn: 35905


# 0e1c1d4a 07-Apr-2007 Chris Lattner <sabre@nondot.org>

Fix a bug in my earlier commit which exposed positional options backwards.
This fixes llvm-ar.

llvm-svn: 35727


# 5247f60d 06-Apr-2007 Chris Lattner <sabre@nondot.org>

rearchitect the registration mechanism used by the command line option stuff.
This dramatically reduce the amount of memory allocated by the commandline stuff
at static init time, changing it to buil

rearchitect the registration mechanism used by the command line option stuff.
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

show more ...


# 2031b02f 05-Apr-2007 Chris Lattner <sabre@nondot.org>

remove the dead removeArgument method, rename Options to OptionsMap.

llvm-svn: 35690


# 9eb2caae 01-Feb-2007 Devang Patel <dpatel@apple.com>

Add PrintVersionMessage() that tools can use to print version number
without exiting program.

llvm-svn: 33737


# 30c0f336 07-Dec-2006 Bill Wendling <isanbard@gmail.com>

Don't use <sstream> in Streams.h but <iosfwd> instead.

llvm-svn: 32340


# f3baad3e 07-Dec-2006 Bill Wendling <isanbard@gmail.com>

Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.

llvm-svn: 32298


# 3750ae25 26-Nov-2006 Bill Wendling <isanbard@gmail.com>

Removed #include <iostream> and replace with llvm_* streams.

llvm-svn: 31927


Revision tags: llvmorg-1.9.0
# 5af1cbc5 13-Oct-2006 Chris Lattner <sabre@nondot.org>

avoid a ctor/dtor issue with the ProgramName global.

llvm-svn: 30925


# adb19d6e 12-Oct-2006 Chris Lattner <sabre@nondot.org>

shrink anon-ns and mark stuff static. No functionality changes

llvm-svn: 30922


# 8111c592 04-Oct-2006 Chris Lattner <sabre@nondot.org>

Fix more static dtor issues

llvm-svn: 30725


# 2de6e33c 27-Aug-2006 Chris Lattner <sabre@nondot.org>

Minor code cleanups

llvm-svn: 29917


# 3e5d60fc 27-Aug-2006 Chris Lattner <sabre@nondot.org>

Add external definitions for commonly-used template specializations and add
anchor methods to others. This eliminates the vtable/template method bloat
in .o files that defining a cl::opt used to imp

Add external definitions for commonly-used template specializations and add
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

show more ...


# bd156a90 23-Aug-2006 Reid Spencer <rspencer@reidspencer.com>

Make the ProgramName variable a std::string so we can eliminate the path
portion fo the program name via sys::Path().getLast(). This makes error
messages more readable since this is invariably used o

Make the ProgramName variable a std::string so we can eliminate the path
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

show more ...


# c295914b 21-Aug-2006 Reid Spencer <rspencer@reidspencer.com>

For PR797:
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) actual

For PR797:
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

show more ...


# 82cd9c51 02-Aug-2006 Jim Laskey <jlaskey@mac.com>

If the Program name was NULL then all further output sent to std::cerr was
suppressed.

llvm-svn: 29477


# a0ddced7 18-Jul-2006 Chris Lattner <sabre@nondot.org>

Add an out-of-line virtual method to provide a home for the cl::option class.

llvm-svn: 29191


# 8ac22e74 06-Jul-2006 Chris Lattner <sabre@nondot.org>

Print LLVM version info like this:

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

Print LLVM version info like this:

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

show more ...


1...<<1112131415161718