| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
warnings.
llvm-svn: 129988
|
|
|
|
| |
llvm-svn: 128912
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 110679
|
|
|
|
|
|
| |
some default values that are not used.
llvm-svn: 110485
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
cast instead of reinterpret_cast, fixing PR6243. Apparently
reinterpret_cast and I aren't getting along today.
llvm-svn: 95622
|
|
|
|
| |
llvm-svn: 91087
|
|
|
|
|
|
| |
actually need that conversion function. Silences a Clang++ warning.
llvm-svn: 86148
|
|
|
|
| |
llvm-svn: 86144
|
|
|
|
|
|
| |
warning.
llvm-svn: 84130
|
|
|
|
|
|
| |
named NumOccurrences.
llvm-svn: 83273
|
|
|
|
| |
llvm-svn: 82377
|
|
|
|
|
|
|
|
| |
stringref because they may not be nul terminated. For options like -Lfoo
this now avoids a O(n) temporary std::strings where N is the length of
the string after -L.
llvm-svn: 82345
|
|
|
|
|
|
|
| |
a massive number of temporary strings created when parsing a command line.
More still left to eliminate.
llvm-svn: 82318
|
|
|
|
| |
llvm-svn: 77931
|
|
|
|
| |
llvm-svn: 77892
|
|
|
|
| |
llvm-svn: 73601
|
|
|
|
| |
llvm-svn: 70437
|
|
|
|
|
|
| |
abstraction for CommandLine.
llvm-svn: 68588
|
|
|
|
|
|
|
| |
is appropriate. This helps visually differentiate host-oriented
calculations from target-oriented calculations.
llvm-svn: 68227
|
|
|
|
|
|
| |
* Simplified if statement
llvm-svn: 68163
|
|
|
|
| |
llvm-svn: 68013
|
|
|
|
| |
llvm-svn: 67892
|
|
|
|
| |
llvm-svn: 67862
|
|
|
|
|
|
|
|
|
|
| |
- Make type declarations match the struct/class keyword of the definition.
- Move AddSignalHandler into the namespace where it belongs.
- Correctly call functions from template base.
- Some other small changes.
With this patch, LLVM and Clang should build properly and with far less noise under VS2008.
llvm-svn: 67347
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Makes possible to specify options that take multiple arguments (a-la
-sectalign on Darwin). See documentation for details.
llvm-svn: 62372
|
|
|
|
|
|
| |
* Minor spacing and comment cleanups
llvm-svn: 61590
|
|
|
|
| |
llvm-svn: 51287
|
|
|
|
| |
llvm-svn: 51266
|
|
|
|
| |
llvm-svn: 50659
|
|
|
|
| |
llvm-svn: 50355
|
|
|
|
| |
llvm-svn: 47382
|
|
|
|
| |
llvm-svn: 47377
|
|
|
|
|
|
| |
discussion of this change. Boy are my fingers tired. ;-)
llvm-svn: 45411
|
|
|
|
| |
llvm-svn: 42805
|
|
|
|
| |
llvm-svn: 42789
|
|
|
|
| |
llvm-svn: 42788
|
|
|
|
| |
llvm-svn: 42748
|
|
|
|
| |
llvm-svn: 42747
|
|
|
|
| |
llvm-svn: 37925
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
memory that occurs before main starts from 5104 to 4864 bytes with a dummy
example app.
llvm-svn: 35698
|
|
|
|
| |
llvm-svn: 35697
|
|
|
|
| |
llvm-svn: 35691
|
|
|
|
| |
llvm-svn: 35690
|