summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Give llvm-lib rudimentary help output.Nico Weber2018-07-141-0/+6
| | | | | | https://reviews.llvm.org/D49318 llvm-svn: 337084
* Convert the archive writer to use Error.Rafael Espindola2017-09-211-7/+7
| | | | | | This found one place in lld that was not checking the error. llvm-svn: 313937
* Removes redundant `llvm::`, add comments and simplify a return type of a ↵Rui Ueyama2017-09-061-29/+32
| | | | | | | | function. No functional change intended. llvm-svn: 312673
* Simplify writeArchive return type.Rui Ueyama2017-08-301-6/+5
| | | | | | | | | | writeArchive returned a pair, but the first element of the pair is always its first argument on failure, so it doesn't make sense to return it from the function. This patch change the return type so that it does't return it. Differential Revision: https://reviews.llvm.org/D37313 llvm-svn: 312177
* NFC: fix ToolDrivers syntax and typo errorsMartell Malone2017-08-231-5/+5
| | | | | | | infoTable -> InfoTable camelCase Libtool Options #define offset llvm-svn: 311517
* [GSoC] Flag value completion for clangYuka Takahashi2017-06-201-6/+4
| | | | | | | | | | | | This is patch for GSoC project, bash-completion for clang. To use this on bash, please run `source clang/utils/bash-autocomplete.sh`. bash-autocomplete.sh is code for bash-completion. In this patch, Options.td was mainly changed in order to add value class in Options.inc. llvm-svn: 305805
* Move Object format code to lib/BinaryFormat.Zachary Turner2017-06-071-5/+5
| | | | | | | | | | | | This creates a new library called BinaryFormat that has all of the headers from llvm/Support containing structure and layout definitions for various types of binary formats like dwarf, coff, elf, etc as well as the code for identifying a file from its magic. Differential Revision: https://reviews.llvm.org/D33843 llvm-svn: 304864
* Sort the remaining #include lines in include/... and lib/....Chandler Carruth2017-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | I did this a long time ago with a janky python script, but now clang-format has built-in support for this. I fed clang-format every line with a #include and let it re-sort things according to the precise LLVM rules for include ordering baked into clang-format these days. I've reverted a number of files where the results of sorting includes isn't healthy. Either places where we have legacy code relying on particular include ordering (where possible, I'll fix these separately) or where we have particular formatting around #include lines that I didn't want to disturb in this patch. This patch is *entirely* mechanical. If you get merge conflicts or anything, just ignore the changes in this patch and run clang-format over your #include lines in the files. Sorry for any noise here, but it is important to keep these things stable. I was seeing an increasing number of patches with irrelevant re-ordering of #include lines because clang-format was used. This patch at least isolates that churn, makes it easy to skip when resolving conflicts, and gets us to a clean baseline (again). llvm-svn: 304787
* Move lib/LibDriver -> lib/ToolDrivers/llvm-lib. NFCI.Peter Collingbourne2017-05-131-0/+171
This reorganisation prevents us from cluttering up the top-level lib directory with more driver libraries such as llvm-dlltool (see D29892). llvm-svn: 302995
OpenPOWER on IntegriCloud