summaryrefslogtreecommitdiffstats
path: root/clang/tools/ccc/ccclib/Arguments.py
Commit message (Collapse)AuthorAgeFilesLines
...
* ccc: Bug fix, '-f...' should be part of the '-f' group.Daniel Dunbar2009-01-131-1/+2
| | | | llvm-svn: 62157
* ccc: Darwin/Link also runs dsymutil in one very particular situation.Daniel Dunbar2009-01-131-0/+2
| | | | llvm-svn: 62154
* ccc: Add option groups.Daniel Dunbar2009-01-131-43/+88
| | | | | | | | | | - Simple mechanism for group together sets of options so the driver can efficiently deal with them as a group (i.e., for forwarding -i* to cc1). - Use to finish off the major missing pieces of Darwin/CC1 support. llvm-svn: 62149
* ccc: Even more Darwin/cc1 argument translation support.Daniel Dunbar2009-01-121-2/+2
| | | | llvm-svn: 62105
* ccc: (Darwin) More argument translation for Darwin/Compile tool.Daniel Dunbar2009-01-121-3/+5
| | | | llvm-svn: 62093
* ccc: (Darwin) More argument translation for Darwin/Compile tool.Daniel Dunbar2009-01-121-8/+19
| | | | llvm-svn: 62089
* ccc: (Darwin) Start implementing argument translation forDaniel Dunbar2009-01-121-15/+50
| | | | | | Darwin/Compile tool. llvm-svn: 62085
* ccc: Implement the rest of Darwin/Assembler argument translation.Daniel Dunbar2009-01-121-3/+21
| | | | llvm-svn: 62081
* ccc: Support arguments which behave like linker inputs.Daniel Dunbar2009-01-121-12/+58
| | | | | | | | | | | | | | | - Support comma joined options which magically turn into multiple value arguments (e.g., -Wl,) - Split out separate Arg::render routine for when an argument is being rendered as an input (as opposed to in its original form). - Add option flag for options which should be rendered without the option when they are used as an input (e.g., -Xlinker or -o). - Support -weak-l..., -weak_framework, and -weak_library. llvm-svn: 62075
* ccc: (Darwin) Pass -ObjC to linker if -ObjC, -ObjC++ or -fobjc isDaniel Dunbar2009-01-121-4/+3
| | | | | | present. llvm-svn: 62070
* ccc: Add several convenience methods for argument translation.Daniel Dunbar2009-01-111-0/+29
| | | | llvm-svn: 62057
* ccc: Add and name a host of arguments.Daniel Dunbar2009-01-111-31/+125
| | | | | | | | | | | | - Also, fix bug in MultipleValuesOption which was accepting joined arguments. - Add ArgList::getArgs, provides iterator over all arg instances for a given option. - Option definition is very much in need of cleaning... llvm-svn: 62054
* ccc: Make proper synthetic arguments in places we have to constructDaniel Dunbar2009-01-071-20/+20
| | | | | | | "fake" options, allowing Tools to be oblivious to whether an argument is real or synthetic. This kills off DerivedArg & a number of FIXMEs. llvm-svn: 61871
* ccc: Extend ArgList to support indexing into a synthetic arg arrayDaniel Dunbar2009-01-071-3/+28
| | | | | | (for killing off DerivedArg). llvm-svn: 61846
* ccc: Refactor so that all accesses to actual input strings go throughDaniel Dunbar2009-01-071-18/+20
| | | | | | the ArgList. llvm-svn: 61844
* ccc: Remove ValueArg::setValue, this is no longer used.Daniel Dunbar2009-01-061-20/+2
| | | | llvm-svn: 61794
* ccc: Track last actual argument instance for each option & changeDaniel Dunbar2009-01-061-192/+196
| | | | | | | driver to lookup this way instead of manually scanning arguments in multiple places. llvm-svn: 61793
* ccc: Use dummy InputOption and UnknownOption classes instead ofDaniel Dunbar2009-01-061-29/+48
| | | | | | | | InputArg and UnknownArg. - Every argument now always corresponds to some option, which simplifies other code. llvm-svn: 61783
* ccc: Introduce ArgList for keeping input argv & parsed Args together.Daniel Dunbar2009-01-061-5/+35
| | | | llvm-svn: 61780
* Add prototype ccc rewrite.Daniel Dunbar2009-01-051-0/+446
- Entry point is tools/ccc/xcc until we are a functional replacement for ccc. This is highly experimental (FIXME/LOC ratio of 3.4%), quite crufty, and barely usable (and then only on my specific Darwin). However, many of the right ideas are present, and it already fixes a number of things gcc gets wrong. The major missing component is argument translation for tools (translating driver arguments into cc1/ld/as/etc. arguments). This is a large part of the driver functionality and will probably double the LOC, but my hope is that the current architecture is relatively stable. Documentation & motivation to follow soon... llvm-svn: 61739
OpenPOWER on IntegriCloud