Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Driver: Setup file and program search paths in tool chains. | Daniel Dunbar | 2009-03-23 | 1 | -9/+2 | |
| | | | | llvm-svn: 67529 | |||||
* | Driver: Implement 'missing argument' error. | Daniel Dunbar | 2009-03-22 | 1 | -9/+14 | |
| | | | | llvm-svn: 67490 | |||||
* | ccc/Driver: .s defaults to 'assembler-with-cpp' on Darwin. | Daniel Dunbar | 2009-03-20 | 1 | -2/+4 | |
| | | | | | | | | | | - <rdar://problem/6669441> ccc doesn't handle assembler-with-cpp semantics correctly (but clang supports it) - This is sad, because it requires a fairly useless target hook. C'est la vie. llvm-svn: 67418 | |||||
* | Driver: Add Arg::getAsString and use when dumping arguments to | Daniel Dunbar | 2009-03-20 | 1 | -6/+6 | |
| | | | | | | | | diagnostics. - This ensures that the whole argument and values are printed, instead of just the option name. llvm-svn: 67366 | |||||
* | Driver: Implement -print-search-dirs. | Daniel Dunbar | 2009-03-20 | 1 | -0/+19 | |
| | | | | llvm-svn: 67362 | |||||
* | Driver: Temporary hack to allow -ccc-print-bindings to work (for | Daniel Dunbar | 2009-03-20 | 1 | -1/+4 | |
| | | | | | | testing) even with -pipe on. llvm-svn: 67348 | |||||
* | Driver: Claim unused input arguments when emitting "input file unused" | Daniel Dunbar | 2009-03-19 | 1 | -0/+2 | |
| | | | | | | diagnostic (to suppress more generic unused warning). llvm-svn: 67294 | |||||
* | Driver: Claim -arch options when pipelining, and claim arguments that | Daniel Dunbar | 2009-03-19 | 1 | -1/+2 | |
| | | | | | | | | | | | are forwarded to GCC. - The later is unfortunate, as it prevents us from generally warning about anything interesting on platforms that use a generic toolchain. However, we can't do much better without significantly complicating things, and generally we should have proper tool chain definitions. llvm-svn: 67293 | |||||
* | Driver: Handle "linker input" arguments. | Daniel Dunbar | 2009-03-19 | 1 | -6/+9 | |
| | | | | | | | | | - Make InputInfo a variant of filename, pipe, input argument, nothing. - Leave a FIXME in InputInfo that this should be revisited. llvm-svn: 67292 | |||||
* | Driver: Forcibly disable pipe support until we can execute them, the | Daniel Dunbar | 2009-03-18 | 1 | -1/+13 | |
| | | | | | | driver is functional without them. llvm-svn: 67254 | |||||
* | Driver: Delete the temporary files llvm::sys::Path::makeUnique | Daniel Dunbar | 2009-03-18 | 1 | -0/+4 | |
| | | | | | | sometimes leaves around. llvm-svn: 67253 | |||||
* | Driver: Cleanup temporary/result files. | Daniel Dunbar | 2009-03-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 67248 | |||||
* | Driver: Lookup program names using llvm::sys::Program::FindProgramByName | Daniel Dunbar | 2009-03-18 | 1 | -0/+6 | |
| | | | | | | | | | if our usual methods fail. This isn't necessary for running the tool, but improves the accuracy of logging output. Also, have GCC tools lookup gcc program path. llvm-svn: 67243 | |||||
* | The eventual name of this will be clang, might as well start now. | Mike Stump | 2009-03-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 67241 | |||||
* | Driver: Support ToolChain specific path lists to search for files and | Daniel Dunbar | 2009-03-18 | 1 | -2/+25 | |
| | | | | | | programs. llvm-svn: 67229 | |||||
* | Driver: Construct temporary file names. | Daniel Dunbar | 2009-03-18 | 1 | -5/+17 | |
| | | | | | | - This is still suboptimal, but should at least be workable. llvm-svn: 67223 | |||||
* | Add revision information. | Mike Stump | 2009-03-18 | 1 | -2/+7 | |
| | | | | llvm-svn: 67220 | |||||
* | Driver: Don't warn about unused arguments if there are Driver errors | Daniel Dunbar | 2009-03-18 | 1 | -2/+5 | |
| | | | | | | (brings code in line with diagnostic. llvm-svn: 67217 | |||||
* | Fix URL trimming for version information. | Mike Stump | 2009-03-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 67206 | |||||
* | Improve version number. | Mike Stump | 2009-03-18 | 1 | -2/+13 | |
| | | | | llvm-svn: 67204 | |||||
* | Driver: Bug fix, derived .gch names sometimes started with "/". | Daniel Dunbar | 2009-03-18 | 1 | -1/+4 | |
| | | | | llvm-svn: 67192 | |||||
* | Driver: Add assert and FIXME; arguments which act as linker inputs | Daniel Dunbar | 2009-03-18 | 1 | -0/+3 | |
| | | | | | | (e.g., -filelist) are currently broken. llvm-svn: 67183 | |||||
* | Driver: ConstructJob also needs to know the destination (where to put | Daniel Dunbar | 2009-03-18 | 1 | -1/+2 | |
| | | | | | | its commands). llvm-svn: 67179 | |||||
* | Driver: Print version on stderr to match [gc]cc. | Daniel Dunbar | 2009-03-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 67178 | |||||
* | Driver: Claim inputs when we bind the InputAction. | Daniel Dunbar | 2009-03-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 67174 | |||||
* | Driver: Don't claim inputs when pipelining, a tool should eventually | Daniel Dunbar | 2009-03-18 | 1 | -1/+0 | |
| | | | | | | claim these. llvm-svn: 67171 | |||||
* | Driver: Add a dash of const. | Daniel Dunbar | 2009-03-18 | 1 | -1/+0 | |
| | | | | llvm-svn: 67170 | |||||
* | Driver: Stub out Tool::ConstructJob. | Daniel Dunbar | 2009-03-18 | 1 | -2/+3 | |
| | | | | llvm-svn: 67169 | |||||
* | Driver: Add two normalizations for powerpc. | Daniel Dunbar | 2009-03-18 | 1 | -0/+2 | |
| | | | | | | - PR3830 llvm-svn: 67166 | |||||
* | Driver: Ditch Driver::DefaultToolChain, this can vary between compilations. | Daniel Dunbar | 2009-03-18 | 1 | -23/+20 | |
| | | | | llvm-svn: 67162 | |||||
* | Driver: Move actions into Compilation, and construct the compilation | Daniel Dunbar | 2009-03-18 | 1 | -35/+37 | |
| | | | | | | | | | | | earlier. - This gives us a simple ownership model, and allows clients access to more information should they ever want it. - We now free Actions correctly. llvm-svn: 67158 | |||||
* | Driver: Add test for binding of precompile; exposed bug due to my | Daniel Dunbar | 2009-03-18 | 1 | -1/+1 | |
| | | | | | | | flawed idea that llvm::sys::Path::getBasename was a version of basename(). llvm-svn: 67153 | |||||
* | Driver: Use PrettyStackTrace. | Daniel Dunbar | 2009-03-18 | 1 | -0/+11 | |
| | | | | llvm-svn: 67149 | |||||
* | Driver: Release Host, ToolChain, and Tool implementations. | Daniel Dunbar | 2009-03-18 | 1 | -0/+1 | |
| | | | | llvm-svn: 67146 | |||||
* | Driver: Add -ccc-print-bindings option (for testing); the Python | Daniel Dunbar | 2009-03-17 | 1 | -15/+22 | |
| | | | | | | driver has no corresponding option. llvm-svn: 67125 | |||||
* | Driver: Make sure to get the default arch name from the tool chain, not the | Daniel Dunbar | 2009-03-17 | 1 | -1/+3 | |
| | | | | | | host; the toolchain may differ based on command line arguments. llvm-svn: 67106 | |||||
* | Driver: Pass Driver reference down into Host info, which will need it | Daniel Dunbar | 2009-03-17 | 1 | -4/+6 | |
| | | | | | | | to pass to ToolChains, which may need Driver specific information (for example, to form search paths). llvm-svn: 67102 | |||||
* | Driver: Hide HostInfo implementations. | Daniel Dunbar | 2009-03-17 | 1 | -3/+11 | |
| | | | | | | | - Also, normalize arch names a tad and stub out getToolChain implementations. llvm-svn: 67091 | |||||
* | Driver: Add logic for computing where to put job outputs (pipe, | Daniel Dunbar | 2009-03-17 | 1 | -1/+72 | |
| | | | | | | temporary file, user provided name, derived name). llvm-svn: 67088 | |||||
* | Fix unused variable warning in -Asserts mode. | Daniel Dunbar | 2009-03-17 | 1 | -0/+1 | |
| | | | | llvm-svn: 67073 | |||||
* | Driver: Implement majority tool binding logic. | Daniel Dunbar | 2009-03-16 | 1 | -2/+146 | |
| | | | | | | | | | | | | - Still need code for determining proper output location. - Doesn't work yet, of course, as the host isn't providing real tool chains. - Interface still has a few warts, but has gotten a nice bit of polish during the rewrite. llvm-svn: 67038 | |||||
* | Driver: Migrate some data into the Compilation; after pipelining | Daniel Dunbar | 2009-03-16 | 1 | -16/+18 | |
| | | | | | | | | access to most data should go through the current Compilation, not the Driver (which shouldn't be specialized on variables for a single compilation). llvm-svn: 67037 | |||||
* | Driver: Sketch Tool and ToolChain classes. | Daniel Dunbar | 2009-03-16 | 1 | -2/+8 | |
| | | | | llvm-svn: 67036 | |||||
* | Driver: claim input arguments when building phases. | Daniel Dunbar | 2009-03-15 | 1 | -0/+2 | |
| | | | | llvm-svn: 67016 | |||||
* | Driver: Start warning about unused arguments. | Daniel Dunbar | 2009-03-15 | 1 | -2/+15 | |
| | | | | | | | - This has a number of current flaws, enabling now to flush out problems while bringing up other parts. llvm-svn: 67015 | |||||
* | Driver: Update ArgList::{hasArg,getLastArg} to optionally claim the | Daniel Dunbar | 2009-03-15 | 1 | -7/+5 | |
| | | | | | | arguments if they exist. llvm-svn: 67014 | |||||
* | Driver: Sprinkle some consts in, stub out BuildJobs method. | Daniel Dunbar | 2009-03-13 | 1 | -6/+9 | |
| | | | | llvm-svn: 66968 | |||||
* | Driver: For universal builds, handle archs in the order they were seen. | Daniel Dunbar | 2009-03-13 | 1 | -8/+12 | |
| | | | | llvm-svn: 66939 | |||||
* | Driver: Fix '-x none' handling. | Daniel Dunbar | 2009-03-13 | 1 | -4/+12 | |
| | | | | | | - Enough stuff works now we can test argument parsing & pipelining. llvm-svn: 66913 | |||||
* | Driver: Some minor bug fixes. | Daniel Dunbar | 2009-03-13 | 1 | -2/+2 | |
| | | | | | | | | | - language recognition was recognizing prefixes incorrectly. - -x none wasn't working. - test for "can lipo" was backwords. - missed a '"' in -ccc-print-phases llvm-svn: 66911 |