summaryrefslogtreecommitdiff
path: root/tools/llvmc
Commit message (Collapse)AuthorAge
...
* Stop propagating method names that violate the coding standardReid Spencer2004-11-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17498 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the FORCE token, rename VERSION to VERSION_TOK so it doesn'tReid Spencer2004-10-28
| | | | | | | conflict with configuration variables and #defines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17298 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement linking.Reid Spencer2004-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17297 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the force flag, configuration item, and related supportReid Spencer2004-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17296 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -f to stkrc to ensure the output file is always written.Reid Spencer2004-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17295 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the -F option (for forcing output) .. not neededReid Spencer2004-10-28
| | | | | | | Create GCC compatible -Wx, aliases for the existing -T options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17294 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for library name change.Reid Spencer2004-10-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17287 91177308-0d34-0410-b5e6-96231b3b80d8
* Add EXTRA_DIST for additional files to be distributed.Reid Spencer2004-10-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17233 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove template args that are the same as the defaultChris Lattner2004-10-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17223 91177308-0d34-0410-b5e6-96231b3b80d8
* We're not doing automake any moreReid Spencer2004-10-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17168 91177308-0d34-0410-b5e6-96231b3b80d8
* We won't use automakeReid Spencer2004-10-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17155 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial automake generated Makefile templateReid Spencer2004-10-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17136 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16950 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial version of automake Makefile.am file.Reid Spencer2004-10-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16894 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to reflect stkrc's new optimization capabilities.Reid Spencer2004-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16327 91177308-0d34-0410-b5e6-96231b3b80d8
* Support substitution options for the W, M, and f options.Reid Spencer2004-09-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16326 91177308-0d34-0410-b5e6-96231b3b80d8
* Support the -WX, -f -M options as pass throughsReid Spencer2004-09-14
| | | | | | | | | Change force option from -f to -F Support the -strip option Make changes to reflect different interface in sys::Program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16325 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't re-instantiate the std::string in catch block.Reid Spencer2004-09-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16159 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes For Bug 352Reid Spencer2004-09-01
| | | | | | | | | 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/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure <cassert> is included for platforms that don't include it viaReid Spencer2004-09-01
| | | | | | | other header files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16134 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial commit of a configuration file for compiling C++ programs withReid Spencer2004-08-30
| | | | | | | the file name pattern *.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16117 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the "setIncludePaths" and "setSymbolDefines" interface methods.Reid Spencer2004-08-30
| | | | | | | | Revise token substitution to be a little faster. Clean up exception throwing, make sure its always a std::string. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16116 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass lists of -I and -D options through to the Compiler Driver.Reid Spencer2004-08-30
| | | | | | | Handle -g and -Wxxx for GCC compatibility git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16115 91177308-0d34-0410-b5e6-96231b3b80d8
* Need to throw std::string not const char* if we want error messages to beReid Spencer2004-08-30
| | | | | | | caught. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16109 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a missing header fileReid Spencer2004-08-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16099 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvmc to use the lib/System interface instead of directlyReid Spencer2004-08-29
| | | | | | | using Unix operating system calls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16089 91177308-0d34-0410-b5e6-96231b3b80d8
* License file for llvmc.Reid Spencer2004-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16045 91177308-0d34-0410-b5e6-96231b3b80d8
* Insert declarations for two new functions that support the dependentReid Spencer2004-08-24
| | | | | | | libraries feature. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16043 91177308-0d34-0410-b5e6-96231b3b80d8
* Run the compilation actions before we attempt linking work.Reid Spencer2004-08-24
| | | | | | | | Correctly implement the dependent libraries feature so that linked bytecode files automatically include any dependent libraries they specify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16042 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the directory specified by LLVM_LIB_SEARCH_PATH to the list ofReid Spencer2004-08-24
| | | | | | | directories to be searched during linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16041 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of error messages from CommandLine because -time-passes wasReid Spencer2004-08-24
| | | | | | | | defined twice. We make use of the new TimePassesIsEnabled global boolean value from Pass.h to access the value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16033 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjustments for changes in the configuration language.Reid Spencer2004-08-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16026 91177308-0d34-0410-b5e6-96231b3b80d8
* - Unify format of output messagesReid Spencer2004-08-24
| | | | | | | | - All errors throw std::string - Default output file name to a.out (if we're linking) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16025 91177308-0d34-0410-b5e6-96231b3b80d8
* Link with bcreader and vmcore.Reid Spencer2004-08-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16024 91177308-0d34-0410-b5e6-96231b3b80d8
* - Implement the %args% substitutionReid Spencer2004-08-24
| | | | | | | | | | | | | | - 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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16023 91177308-0d34-0410-b5e6-96231b3b80d8
* - Alphabetize the list of token enumerators.Reid Spencer2004-08-24
| | | | | | | - Drop old tokens, insert new tokens git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16022 91177308-0d34-0410-b5e6-96231b3b80d8
* - Rename and rearrange for clarityReid Spencer2004-08-24
| | | | | | | | | | | - Drop name tokens not used any more (GROKS_DASH_O) - Rename OUTPUT_IS_ASM as OUTPUT and allow "bytecode" and "assembly" as values of it. - Simplify handleContext (now handleNameContext) arguments and ensure that it returns OPTION tokens exactly as scanned. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16021 91177308-0d34-0410-b5e6-96231b3b80d8
* - Remove unused GetSuffix functionReid Spencer2004-08-24
| | | | | | | | | | | | | - Renamed FileReadable -> FileIsReadable - Remove support for GROKS_DASH_O; deferr it to %opts% substitution - Require a -o option except in case of linking where it defaults to a.out - Fix problem processing *.o and *.bc files. - Ignore optimization phase if -emit-raw-code - Correct the assembly generation phase to support -emit-native-code - Implement dependent library lookup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16020 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneeded flags.Reid Spencer2004-08-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16019 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide support for retaining the version number found in a config file.Reid Spencer2004-08-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15995 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the VERSION token.Reid Spencer2004-08-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15994 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for version numbers.Reid Spencer2004-08-22
| | | | | | | Allow CRLF as a line terminator (as well as plain LF) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15993 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten lines so this file can be used as the documentation exampleReid Spencer2004-08-22
| | | | | | | directly. Remove -pre (experimental pass). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15992 91177308-0d34-0410-b5e6-96231b3b80d8
* Change @ -> % in config files. @name@ might be needed for config files toReid Spencer2004-08-20
| | | | | | | | themselves be configured via autoconf so its not a good substitition syntax for llvmc. Furthermore % is more llvmish :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15957 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the correct search for configuration files. llvmc will now tryReid Spencer2004-08-20
| | | | | | | | | | | | 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15950 91177308-0d34-0410-b5e6-96231b3b80d8
* Add CONFIG_FILES so the language specific config files can be installed.Reid Spencer2004-08-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15949 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement Assembly support.Reid Spencer2004-08-20
| | | | | | | Consolidate platform-specific code into "sys" namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15947 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually let it compile after file name changes.Reid Spencer2004-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15931 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved ConfigData -> ConfigurationReid Spencer2004-08-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15927 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement many new features for llvmc. This is the first version that willReid Spencer2004-08-19
| | | | | | | actually execute actions and it is been shown to optimize a Stacker program git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15912 91177308-0d34-0410-b5e6-96231b3b80d8