summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/Configuration.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Drop llvmc also, it will be replaced by shiny new llvmc2Anton Korobeynikov2008-05-041-632/+0
| | | | llvm-svn: 50615
* Detabify.Bill Wendling2008-02-261-7/+7
| | | | llvm-svn: 47596
* Get rid of hash_map in llvmcAnton Korobeynikov2008-02-201-2/+1
| | | | llvm-svn: 47374
* remove attributions from tools.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45421
* Here is the bulk of the sanitizing.Gabor Greif2007-07-051-5/+5
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* Patches to correct several bugs in llvmc.Reid Spencer2006-08-161-0/+7
| | | | | | Patches contributed by Bram Adams. Thanks Bram. llvm-svn: 29729
* silly cleanupChris Lattner2006-05-291-1/+1
| | | | llvm-svn: 28543
* For PR495:Reid Spencer2005-07-071-9/+9
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* For PR495:Reid Spencer2005-07-071-5/+5
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* For PR514:Reid Spencer2005-05-191-1/+1
| | | | | | | | * Make sure the "etcdir" gets checked for configuration files so that the installed location for config files is checked. * Remove the st.in file (moved to projects/Stacker/tools/stkrc) llvm-svn: 22135
* For PR514:Reid Spencer2005-05-191-0/+2
| | | | | | | | | | * language specification files are no longer configured with "configure" * add substitutions for %bindir%, %libdir%, and various llvmgcc related variables needed in the c and cpp spec files. * Implement the stubstituions in the Compiler Driver. * Move st.in to projects/Stacker/tools/stkrc where it belongs. llvm-svn: 22128
* Minor clean-upsMisha Brukman2005-05-031-2/+0
| | | | llvm-svn: 21678
* Remove trailing whitespaceMisha Brukman2005-04-221-35/+35
| | | | llvm-svn: 21428
* Path::get -> Path::toStringReid Spencer2004-12-111-1/+1
| | | | llvm-svn: 18785
* Make various adjustments to parsing so that the separator character doesn'tReid Spencer2004-11-231-36/+156
| | | | | | | terminate options or paths, so that SPACE tokens legally separate options on a command line, and so that the lang.libs paths are parsed properly. llvm-svn: 18184
* Stop propagating method names that violate the coding standardReid Spencer2004-11-051-12/+12
| | | | llvm-svn: 17498
* Eliminate the force flag, configuration item, and related supportReid Spencer2004-10-281-13/+13
| | | | llvm-svn: 17296
* Changes For Bug 352Reid Spencer2004-09-011-3/+3
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Implement the "setIncludePaths" and "setSymbolDefines" interface methods.Reid Spencer2004-08-301-8/+15
| | | | | | | Revise token substitution to be a little faster. Clean up exception throwing, make sure its always a std::string. llvm-svn: 16116
* Convert llvmc to use the lib/System interface instead of directlyReid Spencer2004-08-291-35/+34
| | | | | | using Unix operating system calls. llvm-svn: 16089
* - Implement the %args% substitutionReid Spencer2004-08-241-39/+46
| | | | | | | | | | | | | - Implement parsing of the .output={bytecode|assembly} item. - Drop parsing support for translator.optimizes, translator.groks_dash_O, optimizer.groks_dash_O, translator.output_is_asm, optimizer.output_is_asm - Add parsing support for translator.output and optimizer.output - Add optimizer.required parsing support - Add linker.libs and linker.libpaths parsing support - Fix error messages to list correct set of tokens expected. - Rename FileReadable -> FileIsReadable (changed in CompilerDriver.cpp) llvm-svn: 16023
* Provide support for retaining the version number found in a config file.Reid Spencer2004-08-221-0/+13
| | | | llvm-svn: 15995
* Change @ -> % in config files. @name@ might be needed for config files toReid Spencer2004-08-201-6/+6
| | | | | | | themselves be configured via autoconf so its not a good substitition syntax for llvmc. Furthermore % is more llvmish :) llvm-svn: 15957
* Implement the correct search for configuration files. llvmc will now tryReid Spencer2004-08-201-16/+42
| | | | | | | | | | | the following in this order: 1. -config-dir=/path/to/configs 2. LLVM_CONFIG_DIR=/path/to/configs 3. ~/.llvm/etc 4. $prefix/etc 5. /etc/llvm llvm-svn: 15950
* Actually let it compile after file name changes.Reid Spencer2004-08-191-1/+1
| | | | llvm-svn: 15931
* Moved ConfigData -> ConfigurationReid Spencer2004-08-191-1/+1
| | | | llvm-svn: 15927
* Implement many new features for llvmc. This is the first version that willReid Spencer2004-08-191-40/+72
| | | | | | actually execute actions and it is been shown to optimize a Stacker program llvm-svn: 15912
* More Functionality:Reid Spencer2004-08-151-71/+161
| | | | | | | | | | - cleaned up lexical scanner - added support for "lang.optN" configuration items - added temporary file support (ala lib/System) - corrected logic for deciding which phases to run - consolidated the Action and ActionPattern classes llvm-svn: 15765
* Converted to use flex for tokenizing input so we can use an easier toReid Spencer2004-08-141-355/+246
| | | | | | | understand recursive descent parser, we can easily handle more syntax variety, and we can more easily change the configuration items accepted. llvm-svn: 15732
* First version of a utility internal to llvmc that handles the parsing andReid Spencer2004-08-131-0/+441
construction of configuration data for compiler front ends. llvm-svn: 15727
OpenPOWER on IntegriCloud