| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 45421
|
|
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
|
|
|
| |
llvm-svn: 36900
|
|
|
|
| |
llvm-svn: 36868
|
|
|
|
|
|
| |
to get deplibs
llvm-svn: 36851
|
|
|
|
| |
llvm-svn: 35772
|
|
|
|
|
|
|
| |
Change uses of sys::Path class to sys::PathWithStatus in those places where
the file status information is needed.
llvm-svn: 35743
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
is especially needed for bugpoint. This partly implements PR688
llvm-svn: 34349
|
|
|
|
| |
llvm-svn: 34021
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Remove exception throwing/handling from lib/Bytecode, and adjust its users
to compensate for changes in the interface.
llvm-svn: 29875
|
|
|
|
|
|
| |
adjust users of it to compensate.
llvm-svn: 29831
|
|
|
|
|
|
|
|
| |
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 contributed by Bram Adams. Thanks Bram.
llvm-svn: 29729
|
|
|
|
|
|
| |
to do the operation and if it fails, oh well.
llvm-svn: 29446
|
|
|
|
| |
llvm-svn: 28543
|
|
|
|
| |
llvm-svn: 22523
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
llvm-svn: 21678
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
| |
llvm-svn: 21374
|
|
|
|
|
|
|
| |
the program name as the first argument. Thanks go to Markus Oberhumer for
noticing this problem.
llvm-svn: 21220
|
|
|
|
| |
llvm-svn: 20167
|
|
|
|
| |
llvm-svn: 19059
|
|
|
|
| |
llvm-svn: 19047
|
|
|
|
|
|
| |
* Support changes in sys::Program::ExecuteAndWait interface
llvm-svn: 19044
|
|
|
|
| |
llvm-svn: 18887
|
|
|
|
|
|
| |
Use sys::Path not FileUtilities to check file types
llvm-svn: 18865
|
|
|
|
| |
llvm-svn: 18785
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 18051
|
|
|
|
| |
llvm-svn: 17498
|
|
|
|
| |
llvm-svn: 17297
|
|
|
|
|
|
|
|
| |
Change force option from -f to -F
Support the -strip option
Make changes to reflect different interface in sys::Program
llvm-svn: 16325
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Revise token substitution to be a little faster.
Clean up exception throwing, make sure its always a std::string.
llvm-svn: 16116
|
|
|
|
| |
llvm-svn: 16099
|
|
|
|
|
|
| |
using Unix operating system calls.
llvm-svn: 16089
|
|
|
|
|
|
|
| |
Correctly implement the dependent libraries feature so that linked bytecode
files automatically include any dependent libraries they specify.
llvm-svn: 16042
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
llvm-svn: 16020
|
|
|
|
|
|
|
| |
themselves be configured via autoconf so its not a good substitition syntax
for llvmc. Furthermore % is more llvmish :)
llvm-svn: 15957
|
|
|
|
|
|
| |
Consolidate platform-specific code into "sys" namespace.
llvm-svn: 15947
|
|
|
|
|
|
| |
actually execute actions and it is been shown to optimize a Stacker program
llvm-svn: 15912
|
|
|
|
| |
llvm-svn: 15815
|
|
|
|
|
|
|
|
|
|
| |
- 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
|