summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc
Commit message (Collapse)AuthorAgeFilesLines
* Detabify.Bill Wendling2008-02-262-43/+43
| | | | llvm-svn: 47596
* Get rid of hash_map in llvmcAnton Korobeynikov2008-02-202-4/+3
| | | | llvm-svn: 47374
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+1
| | | | | | annoying warnings. llvm-svn: 47367
* regenerateChris Lattner2007-12-292-708/+884
| | | | llvm-svn: 45424
* remove attributionsChris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45423
* remove attributions from tools.Chris Lattner2007-12-296-12/+12
| | | | llvm-svn: 45421
* remove attributions from tools/utils makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45414
* add a 'don't use me' marker.Chris Lattner2007-10-221-0/+3
| | | | llvm-svn: 43226
* Move the space in overview output for commands out of each of theDan Gohman2007-10-081-1/+1
| | | | | | commands and into the common code. llvm-svn: 42752
* update the .cvs files.Chris Lattner2007-07-052-761/+761
| | | | llvm-svn: 37919
* Here is the bulk of the sanitizing.Gabor Greif2007-07-056-24/+24
| | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
* Convert .cvsignore filesJohn Criswell2007-06-291-1/+0
| | | | llvm-svn: 37801
* use the new MemoryBuffer interfaces to simplify error reporting in clients.Chris Lattner2007-05-061-2/+1
| | | | llvm-svn: 36900
* switch tools to bitcode instead of bytecodeChris Lattner2007-05-062-16/+7
| | | | llvm-svn: 36868
* add bitcode support, optimize reading to not read all function bodies justChris Lattner2007-05-062-5/+17
| | | | | | to get deplibs llvm-svn: 36851
* Make TempDir a PathWithStatus so we don't have to cast it to one.Reid Spencer2007-04-081-3/+2
| | | | llvm-svn: 35772
* For PR1291:Reid Spencer2007-04-071-1/+2
| | | | | | | Change uses of sys::Path class to sys::PathWithStatus in those places where the file status information is needed. llvm-svn: 35743
* For PR789:Reid Spencer2007-03-291-2/+2
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* Add possibility to set memory limit for binaries run via libSystem. ThisAnton Korobeynikov2007-02-161-2/+2
| | | | | | is especially needed for bugpoint. This partly implements PR688 llvm-svn: 34349
* Fix build error on ARM.Lauro Ramos Venancio2007-02-121-1/+1
| | | | | | | Since CompilerDriver.cpp revision 1.44, llvmc must be linked against LLVMCore.a (llvm::Module::~Module) and LLVMBCReader.a (llvm::getBytecodeModuleProvider). llvm-svn: 34196
* move an llvmc-specific function out of the bcreader into llvmc.Chris Lattner2007-02-071-0/+17
| | | | llvm-svn: 34021
* push bytecode decompressor out through APIs. Now the bytecode readerChris Lattner2007-02-071-1/+3
| | | | | | | | | | | | | | | | | | | | api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
* Ressurrect this needed file.Reid Spencer2006-12-131-0/+63
| | | | llvm-svn: 32537
* Ressurrect the Stacker "st" configuration. Someday this will all goReid Spencer2006-12-131-1/+1
| | | | | | away, but until then Stacker needs its configuration. llvm-svn: 32536
* make all llvm tools call llvm_shutdown when they exit, static'ify some stuff.Chris Lattner2006-12-061-39/+37
| | | | | | With this change, I can now move -stats to print when llvm_shutdown is called. llvm-svn: 32250
* For PR786:Reid Spencer2006-11-021-7/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* Use LINK_COMPONENTS to specify *components* to link against instead ofChris Lattner2006-09-042-2/+1
| | | | | | using USED_LIBS to specify *libraries* to link against. llvm-svn: 30090
* Delete a no-longer-supported configuration item.Reid Spencer2006-08-291-1/+0
| | | | llvm-svn: 29960
* For PR797:Reid Spencer2006-08-251-2/+3
| | | | | | | Remove exception throwing/handling from lib/Bytecode, and adjust its users to compensate for changes in the interface. llvm-svn: 29875
* Make the sys::Path::GetTemporaryDirectory method not throw exceptions andReid Spencer2006-08-221-10/+30
| | | | | | adjust users of it to compensate. llvm-svn: 29831
* For PR797:Reid Spencer2006-08-213-13/+19
| | | | | | | | Adjust usage of the ExecuteAndWait function to use the last argument which is the ErrMsg string. This is necessitated because this function no longer throws exceptions on error. llvm-svn: 29791
* Patches to correct several bugs in llvmc.Reid Spencer2006-08-164-7/+58
| | | | | | Patches contributed by Bram Adams. Thanks Bram. llvm-svn: 29729
* No need to check isWriteable here (which isn't sufficient anyway). Just attemptChris Lattner2006-08-011-1/+2
| | | | | | to do the operation and if it fails, oh well. llvm-svn: 29446
* Tools require EH for their top-level try blocks.Chris Lattner2006-07-071-0/+1
| | | | llvm-svn: 29035
* Remove unneeded libsChris Lattner2006-06-211-1/+1
| | | | llvm-svn: 28900
* For PR811:Reid Spencer2006-06-211-2/+0
| | | | | | | | Don't both with the "C" and "cc" extensions as they aren't common and they the "C" extension conflicts with the "c" extension on operating systems that have case insensitive file names. llvm-svn: 28899
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-1/+1
| | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. llvm-svn: 28610
* silly cleanupChris Lattner2006-05-297-87/+94
| | | | llvm-svn: 28543
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-244-5/+5
| | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
* Distribute CVS versions of lex filesReid Spencer2006-04-121-1/+1
| | | | llvm-svn: 27629
* Ignore the lexer output.Reid Spencer2006-03-241-0/+1
| | | | llvm-svn: 27034
* Adjust to new style "generated files in CVS" mechanism for lex outputChris Lattner2006-02-142-0/+201
| | | | llvm-svn: 26163
* 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
OpenPOWER on IntegriCloud