| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
LLVMContext through a lot
of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools.
Patches for Clang and LLVM-GCC to follow.
llvm-svn: 74614
|
|
|
|
|
|
|
| |
their main routines. This makes the tools print their argc/argv
commands if they crash.
llvm-svn: 66248
|
|
|
|
|
|
| |
Patch by Daniel Shelton!
llvm-svn: 63870
|
|
|
|
|
|
| |
empty archive. llvm-ar would not generate an output file in this case
llvm-svn: 47733
|
|
|
|
| |
llvm-svn: 45421
|
|
|
|
| |
llvm-svn: 45353
|
|
|
|
| |
llvm-svn: 43016
|
|
|
|
|
|
| |
commands and into the common code.
llvm-svn: 42752
|
|
|
|
|
|
|
| |
files.
bitcode files are the only LLVM format left.
llvm-svn: 37945
|
|
|
|
|
|
| |
Almost all occurrences of "bytecode" in the sources have been eliminated.
llvm-svn: 37913
|
|
|
|
| |
llvm-svn: 36868
|
|
|
|
| |
llvm-svn: 35769
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 35466
|
|
|
|
|
|
| |
With this change, I can now move -stats to print when llvm_shutdown is called.
llvm-svn: 32250
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 29869
|
|
|
|
|
|
|
| |
Remove exception handling from the bytecode archiver and adjust the llvm-ar
tool to accommodate the new interfaces.
llvm-svn: 29866
|
|
|
|
|
|
| |
Remove exception throwing from Path::getDirectoryContents and its users.
llvm-svn: 29841
|
|
|
|
|
|
|
| |
Remove exceptions from the Path::create*OnDisk methods. Update their users
to handle error messages via arguments and result codes.
llvm-svn: 29840
|
|
|
|
| |
llvm-svn: 29445
|
|
|
|
|
|
|
|
| |
instead of throwing an exception. This reduces the amount of code that is
exposed to exceptions (e.g. FileUtilities), though it is clearly only one step
along the way.
llvm-svn: 29395
|
|
|
|
| |
llvm-svn: 29066
|
|
|
|
|
|
| |
by Anton Korobeynikov! This is a step towards closing PR786.
llvm-svn: 28447
|
|
|
|
| |
llvm-svn: 25037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 21428
|
|
|
|
| |
llvm-svn: 19751
|
|
|
|
|
|
|
| |
always exited the program with exit code 1 in these cases, regardless of
whether an error occurred or not.
llvm-svn: 18966
|
|
|
|
| |
llvm-svn: 18959
|
|
|
|
|
|
| |
Remove #inclusion of Support/FileUtilities.h which isn't needed any more.
llvm-svn: 18950
|
|
|
|
| |
llvm-svn: 18785
|
|
|
|
|
|
|
| |
set. The member name comparison was failing for truncated names. This patch
fixes that. Truncated names are now properly replaced.
llvm-svn: 18423
|
|
|
|
|
|
| |
symbol tables. Adjust our usage to compensate.
llvm-svn: 18046
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* hide the compatibility option \
* Make static things static \
* Use cl::extrahelp instead of cl::MoreHelp (defunct) \
* Use cl::PrintHelpMessage instead of our own printUse function \
* Use a std::set<sys::Path> for the path list because its now required by \
the sys::Path class and also ensues directories are traversed in sorted \
order.\
* Implement symbol table printing locally instead of in libLLVMArchive \
* Adjust to changes in llvm::Archive interface \
* Make sure we destruct objects even if exceptions occur. \
* Fix a typo in an output string.
llvm-svn: 17877
|
|
|
|
|
|
| |
comment should stay. I also do NOT want my name explicity listed on src files. I am already mentioned in the credits.
llvm-svn: 17833
|
|
|
|
| |
llvm-svn: 17803
|
|
|
|
| |
llvm-svn: 17790
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 16091
|
|
|
|
| |
llvm-svn: 14623
|
|
|
|
| |
llvm-svn: 13813
|
|
|
|
|
|
| |
tool.
llvm-svn: 11632
|
|
|
|
|
|
| |
#includes a bit
llvm-svn: 10651
|
|
|
|
|
|
| |
CommandLine Library needs to be extended, in order to parse the options and allow for optional dashes. In addition, the help option isn't correct since I do the parsing mostly myself. But this is in the ocorrect ar format.
llvm-svn: 10297
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9308
|
|
|
|
| |
llvm-svn: 9291
|