#
12004013 |
| 05-Apr-2011 |
Andrew Trick <atrick@apple.com> |
Added *hidden* flags -print-options and -print-all-options so developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options.
Added *hidden* flags -print-options and -print-all-options so developers can see if their driver changed any cl::Option's. The current implementation isn't perfect but handles most kinds of options. This is nice to have when decomposing the stages of compilation and moving between different drivers. It's also a good sanity check when comparing results produced by different command line invocations that are expected to produce the comparable results.
Note: This is not an attempt to prolong the life of cl::Option. On the contrary, it's a placeholder for a feature that must exist when cl::Option is replaced by a more appropriate framework. A new framework needs: a central option registry, dynamic name lookup, non-global containers of option values (e.g. per-module, per-function), *and* the ability to print options values and their defaults at any point during compilation.
llvm-svn: 128910
show more ...
|
Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
#
72d523be |
| 24-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
Support/CommandLine: Fix LookupNearestOption to also search extra option names.
llvm-svn: 124124
|
#
f413213a |
| 18-Jan-2011 |
Daniel Dunbar <daniel@zuster.org> |
Support/CommandLine: Add "Did you mean" print for mismatched operands.
llvm-svn: 123717
|
#
762a55b1 |
| 18-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/PathV1: Deprecate getLast.
llvm-svn: 122116
|
#
39a0ffc3 |
| 16-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> via an out parm.
llvm-svn: 121958
|
#
7b6fef82 |
| 09-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code &ec. And fix clients.
llvm-svn: 121379
|
#
447762da |
| 29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support.
llvm-svn: 120298
|
#
cf14a382 |
| 19-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix a use after free. Patch by Frits van Bommel.
llvm-svn: 119842
|
Revision tags: llvmorg-2.8.0, llvmorg-2.8.0-rc3, llvmorg-2.8.0-rc2, llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
dac18245 |
| 10-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
Add new configure option, --disable-timestamps, intended to turn off anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables time
Add new configure option, --disable-timestamps, intended to turn off anything which would mess up binary/object comparisons. Currently: - Disables 'Built on ...' in 'foo --version'. - Disables timestamps from being embedded into .dir files.
llvm-svn: 103423
show more ...
|
Revision tags: llvmorg-2.7.0 |
|
#
b452d4e9 |
| 24-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Fix minor style issues.
llvm-svn: 99414
|
#
142b9eda |
| 18-Feb-2010 |
Duncan Sands <baldrick@free.fr> |
Refer to -help instead of --help since this is what tools themselves say. Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation.
Refer to -help instead of --help since this is what tools themselves say. Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation. This doesn't change every mention of --help, only those which seemed clearly safe.
llvm-svn: 96578
show more ...
|
#
29063eac |
| 28-Jan-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Replace strcpy with memcpy when we have the length around anyway.
llvm-svn: 94746
|
#
a230552b |
| 09-Jan-2010 |
Duncan Sands <baldrick@free.fr> |
Suppress use of uninitialized variable warning.
llvm-svn: 93046
|
#
9d24d0c3 |
| 05-Jan-2010 |
David Greene <greened@obbligato.org> |
Change errs() to dbgs().
llvm-svn: 92646
|
#
083f229b |
| 03-Dec-2009 |
Dan Gohman <gohman@apple.com> |
Print a newline after the Args: line so that unrelated errs() output doesn't end up on the same line.
llvm-svn: 90473
|
#
7baad736 |
| 25-Nov-2009 |
Douglas Gregor <dgregor@apple.com> |
Perform explicit instantiations in the proper namespace, since Clang diagnoses this ill-formity.
llvm-svn: 89846
|
#
5551c207 |
| 20-Nov-2009 |
Mikhail Glushenkov <foldr@codedgers.com> |
Move the handling of CommaSeparated options into ProvideOption.
Makes '--comma-separated val1,val2' mean the same thing as '--comma-separated=val1,val2' (that is, 'val1' and 'val2' are not lumped to
Move the handling of CommaSeparated options into ProvideOption.
Makes '--comma-separated val1,val2' mean the same thing as '--comma-separated=val1,val2' (that is, 'val1' and 'val2' are not lumped together as 'val1,val2'). Also declutters the main loop a bit.
llvm-svn: 89463
show more ...
|
#
1d9f1fe7 |
| 19-Nov-2009 |
Mikhail Glushenkov <foldr@codedgers.com> |
Trailing whitespace.
llvm-svn: 89364
|
#
713fd356 |
| 17-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Revert CPU detection code to return "generic" instead of an empty string in case of failure. The x86 target didn't like empty cpu names and broke x86 tests on non-x86 buildbots.
llvm-svn: 89111
|
#
d90a9a04 |
| 14-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Report the detected host CPU in --version.
llvm-svn: 88813
|
#
598825e8 |
| 11-Nov-2009 |
Sandeep Patel <deeppatel1987@gmail.com> |
Show command-line args and features passed into backend in debug output. Approved by Evan Cheng.
llvm-svn: 86797
|
Revision tags: llvmorg-2.6.0 |
|
#
08506ee6 |
| 06-Oct-2009 |
Nicolas Geoffray <nicolas.geoffray@lip6.fr> |
Bugfix for the CommaSeparated option. The original code was adding the whole string at the end of the list, instead of the last comma-separated string.
llvm-svn: 83405
|
#
4e37f877 |
| 24-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
reapply r82348 with a fix, thanks Jeffrey.
llvm-svn: 82683
|
#
a75d6bf3 |
| 24-Sep-2009 |
Jeffrey Yasskin <jyasskin@google.com> |
Roll back r82348, which introduced an infinite loop in ParseCStringVector() that a trivial unittest would have caught. This revision also adds the trivial unittest.
llvm-svn: 82675
|
#
78f908c8 |
| 20-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
tidy up
llvm-svn: 82384
|