Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Options] Add prefixes to options. | Michael J. Spencer | 2012-10-22 | 1 | -3/+11 |
| | | | | | | | | | | | | | | Each option has a set of prefixes. When matching an argument such as -funroll-loops. First the leading - is removed as it is a prefix. Then a lower_bound search for "funroll-loops" is done against the option table by option name. From there each option prefix + option name combination is tested against the argument. This allows us to support Microsoft style options where both / and - are valid prefixes. It also simplifies the cases we already have where options come in both - and -- forms. Almost every option for gnu-ld happens to have this form. llvm-svn: 166444 | ||||
* | [Options] Store the option ID in OptTable::Info. | Michael J. Spencer | 2012-09-25 | 1 | -1/+1 |
| | | | | llvm-svn: 164644 | ||||
* | Pack struct better. | Benjamin Kramer | 2011-10-22 | 1 | -1/+1 |
| | | | | llvm-svn: 142725 | ||||
* | Remove stray emacs mode markers in all these files that was causing emacs to | Nick Lewycky | 2010-12-31 | 1 | -1/+1 |
| | | | | | | | open them in fundamental-mode instead of c++-mode. Also twiddle whitespace for consistency in ToolChains.cpp. llvm-svn: 122646 | ||||
* | spread 'const' love to some variables. this considerably reduces the amount ↵ | Nuno Lopes | 2009-12-10 | 1 | -1/+1 |
| | | | | | | of dirty data around. llvm-svn: 91002 | ||||
* | Driver: Move INPUT and UNKNOWN sentinel options into the OptParser.td file. | Daniel Dunbar | 2009-11-19 | 1 | -5/+0 |
| | | | | llvm-svn: 89371 | ||||
* | Driver: Switch to using TableGen'erated Options.inc instead of Options.def file. | Daniel Dunbar | 2009-11-19 | 1 | -1/+1 |
| | | | | llvm-svn: 89288 | ||||
* | Driver: Split OptTable out into OptTable.{h,cpp} | Daniel Dunbar | 2009-11-19 | 1 | -0/+42 |
llvm-svn: 89283 |