summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
Commit message (Collapse)AuthorAgeFilesLines
* Implement PR614:Reid Spencer2005-08-271-0/+2720
| | | | | | | | | | These changes modify the makefiles so that the output of flex and bison are placed in the SRC directory, not the OBJ directory. It is intended that they be checked in as any other LLVM source so that platforms without convenient access to flex/bison can be compiled. From now on, if you change a .y or .l file you *must* also commit the generated .cpp and .h files. llvm-svn: 23115
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-272-2/+2
| | | | llvm-svn: 22523
* Final Changes For PR495:Reid Spencer2005-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* For PR495:Reid Spencer2005-07-072-24/+24
| | | | | | | | | | | | | | | | | | | | | 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-072-14/+14
| | | | | | | | | | | 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-192-64/+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-199-67/+131
| | | | | | | | | | * 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
* * Use consistent spacing for function argumentsMisha Brukman2005-05-051-18/+18
| | | | | | * Output single-character strings as chars llvm-svn: 21705
* Minor clean-upsMisha Brukman2005-05-032-17/+13
| | | | llvm-svn: 21678
* Clean up and correct llvmc configurations for C and C++Misha Brukman2005-05-033-32/+24
| | | | llvm-svn: 21667
* std::string(NULL) does not a proper constructor makeMisha Brukman2005-05-031-3/+3
| | | | llvm-svn: 21666
* Omit periods at the end of command-line switch explanations for consistencyMisha Brukman2005-05-031-2/+2
| | | | llvm-svn: 21664
* Remove trailing whitespaceMisha Brukman2005-04-226-108/+108
| | | | llvm-svn: 21428
* #include system headers after all LLVM headersMisha Brukman2005-04-201-2/+1
| | | | llvm-svn: 21374
* Ensure that the arguments passed to sys::Program::ExecuteAndWait includeReid Spencer2005-04-111-2/+3
| | | | | | | the program name as the first argument. Thanks go to Markus Oberhumer for noticing this problem. llvm-svn: 21220
* Use DataInstall macro instead of INSTALL.Reid Spencer2005-02-241-4/+4
| | | | llvm-svn: 20322
* Adjust the help output so that it will fit cleanly within 80 columns.Reid Spencer2005-02-181-17/+17
| | | | llvm-svn: 20239
* Conform to the documented interface by null terminating argument lists!Chris Lattner2005-02-131-7/+5
| | | | llvm-svn: 20167
* sysconfdir -> PROJ_etcdirReid Spencer2005-01-171-4/+4
| | | | llvm-svn: 19623
* Rename BUILD_* to PROJ_*Reid Spencer2005-01-161-5/+5
| | | | llvm-svn: 19592
* For PR351:Reid Spencer2004-12-301-0/+1
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* Use Config/alloca.h instead of alloca.h - pointed out by Duraid and MishaBrian Gaeke2004-12-201-1/+1
| | | | llvm-svn: 19059
* Make this compile on Solaris.Brian Gaeke2004-12-191-0/+1
| | | | llvm-svn: 19047
* For PR351:Reid Spencer2004-12-192-11/+16
| | | | | | * Support changes in sys::Program::ExecuteAndWait interface llvm-svn: 19044
* Change LLVMGCCDIR/bytecode-libs -> LLVMGCCDIR/libReid Spencer2004-12-152-2/+2
| | | | llvm-svn: 18951
* Make use of the new Path inserter function.Reid Spencer2004-12-131-3/+3
| | | | llvm-svn: 18887
* PR351: \Reid Spencer2004-12-131-2/+3
| | | | | | Use sys::Path not FileUtilities to check file types llvm-svn: 18865
* Path::get -> Path::toStringReid Spencer2004-12-113-35/+36
| | | | llvm-svn: 18785
* Get rid of warning from flex.Reid Spencer2004-12-101-1/+0
| | | | llvm-svn: 18779
* Add LLVMbzip2 library, now required.Reid Spencer2004-11-251-1/+1
| | | | llvm-svn: 18255
* Always pass -D_GNU_SOURCE to cc1plusReid Spencer2004-11-251-1/+2
| | | | llvm-svn: 18253
* Always pass -D_GNU_SOURCE to cc1Reid Spencer2004-11-251-2/+3
| | | | llvm-svn: 18252
* Correct the configuration variable used to find the bin directory.Reid Spencer2004-11-251-3/+3
| | | | llvm-svn: 18244
* Make sure additional C++ suffixes are recognized by llvmc.Reid Spencer2004-11-241-0/+7
| | | | llvm-svn: 18191
* * Adjust the options to make them either accept multiple occurrences or beReid Spencer2004-11-231-5/+22
| | | | | | | | | optional so that compatibility with GCC is accomplished. * Implement the -print-file-name option in an attempt to provide the same functionality as GCC. Unfortunately, without loading the cpp or c config files, this option won't help much. llvm-svn: 18189
* * Don't pass empty arguments to ExecuteAndWait because it can cause theReid Spencer2004-11-231-41/+56
| | | | | | | | | | | sub-tool to start reading its standard input instead of the specified input. * Clean up ouput of path names on error. * Extend GetPathForLinkageItem to always search the LibraryPaths and thus make it suitable for an interface function (required by llvmc.cpp). * Implement support for language-specific default library paths. llvm-svn: 18188
* Configuration data now supports a vector of library paths.Reid Spencer2004-11-231-0/+7
| | | | | | | Add the GetPathForLinkageItem method to the interface so full paths can be generated for a given linkage item. llvm-svn: 18187
* Add the c and cpp configuration files.Reid Spencer2004-11-231-2/+2
| | | | llvm-svn: 18186
* Removed in favor of configurable (*.in) versions.Reid Spencer2004-11-233-136/+0
| | | | llvm-svn: 18185
* 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
* SPACE is a legitimate token now, to separate option words.Reid Spencer2004-11-231-0/+1
| | | | llvm-svn: 18183
* Handle space, separators, bad substitutions, and library search path betterReid Spencer2004-11-231-6/+7
| | | | | | than before. llvm-svn: 18182
* Configurable language configuration files.Reid Spencer2004-11-234-0/+203
| | | | llvm-svn: 18181
* Get the -o option rightReid Spencer2004-11-201-1/+1
| | | | llvm-svn: 18052
* Get the -o option rightReid Spencer2004-11-201-21/+43
| | | | llvm-svn: 18051
* Stop propagating method names that violate the coding standardReid Spencer2004-11-054-55/+66
| | | | llvm-svn: 17498
* Remove the FORCE token, rename VERSION to VERSION_TOK so it doesn'tReid Spencer2004-10-281-2/+1
| | | | | | conflict with configuration variables and #defines. llvm-svn: 17298
* Implement linking.Reid Spencer2004-10-281-735/+746
| | | | llvm-svn: 17297
* Eliminate the force flag, configuration item, and related supportReid Spencer2004-10-283-26/+24
| | | | llvm-svn: 17296
* Pass -f to stkrc to ensure the output file is always written.Reid Spencer2004-10-281-4/+4
| | | | llvm-svn: 17295
OpenPOWER on IntegriCloud