aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Support dependencies between plugins by priority-sorting.Mikhail Glushenkov2008-11-171-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59449 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a layer of indirection to make plugins more flexible.Mikhail Glushenkov2008-11-175-44/+47
| | | | | | | Use strings instead of TableGen defs in the compilation graph definition. Makes it easier for the plugins to modify an existing graph. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59447 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-11-151-8/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59376 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Recursively invokes cmake using the right directories.Oscar Fuentes2008-11-151-1/+1
| | | | | | | | | | LLVM_MAIN_SRC_DIR and LLVM_BINARY_DIR are not the cmake top level directories when LLVM is embedded on the build of other project. Fixes PR #3072. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59374 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Remove unused tablegenning code from tools/llvmc2/driver.Oscar Fuentes2008-11-141-22/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59333 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Binary flag to raw_fd_ostream constructor.Daniel Dunbar2008-11-132-3/+6
| | | | | | | Document raw_fd_ostream's treatment of "-". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59219 91177308-0d34-0410-b5e6-96231b3b80d8
* Some cosmetic changes.Mikhail Glushenkov2008-11-121-6/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59096 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove incomplete lto-bugpoint tool. If there is an interest then we can ↵Devang Patel2008-11-114-614/+0
| | | | | | resurrect this tool later on and finish implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59071 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: forces rebuild of llvm-config's library dependency info when aOscar Fuentes2008-11-111-0/+1
| | | | | | | library is added or changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59051 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Corrected detection of `nm'.Oscar Fuentes2008-11-091-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58941 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Support for cross-compiling. For now, requires a previouslyOscar Fuentes2008-11-092-2/+10
| | | | | | | | | | | | | | built native tblgen which is passed to cmake in the variable LLVM_TABLEGEN. See http://www.cmake.org/Wiki/CmakeMingw for a quick example on how to cross-compile with CMake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58939 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LLVMC2 tool definitions for Objective-C and Objective-C++.Daniel Dunbar2008-11-081-2/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58885 91177308-0d34-0410-b5e6-96231b3b80d8
* Update to add newer bitcodes.Nick Lewycky2008-11-071-12/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58852 91177308-0d34-0410-b5e6-96231b3b80d8
* Add command line option -entry-funcion to override entry function (default ↵Evan Cheng2008-11-051-5/+12
| | | | | | is main). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58779 91177308-0d34-0410-b5e6-96231b3b80d8
* On darwin, 32-bit x86 target is i386-apple-darwin...Devang Patel2008-11-041-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58731 91177308-0d34-0410-b5e6-96231b3b80d8
* fix memory leak in pass manager when adding an analysis pass that already ↵Nuno Lopes2008-11-041-6/+11
| | | | | | | | existed. as pass manager takes ownership of the added passes, it has to delete the pass if it isnt added to the pass list tweak the opt tool so that it doesnt access a Pass after the ownership was taken by the pass manager git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58730 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 58687. This breaks mingw.Tanya Lattner2008-11-041-5/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58719 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't "shell out" to resolve paths. Using pure perl makes llvm-configNick Lewycky2008-11-041-12/+5
| | | | | | | friendlier to non-Unixes that happen to have perl. Patch from Sascha Othman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58687 91177308-0d34-0410-b5e6-96231b3b80d8
* CMakeLists: removed asmprinter component fromOscar Fuentes2008-11-041-1/+1
| | | | | | | tools/llc/CMakeLists.txt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58678 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-10-291-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -check-exit-code from bugpoint. This is subsumed by -append-exit-code.Nick Lewycky2008-10-261-19/+0
| | | | | | | Note that -check-exit-code was on by default while -append-exit-code is not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58221 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: If we have `clang' under the `tools/' subdirectory, add it toOscar Fuentes2008-10-261-0/+4
| | | | | | | the build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58179 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: GetTargetTriple: new module for determining the targetOscar Fuentes2008-10-261-11/+4
| | | | | | | triple. Assign to LLVM_HOSTTRIPLE so it figures in config.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58176 91177308-0d34-0410-b5e6-96231b3b80d8
* Move Print*Pass to use raw_ostream.Daniel Dunbar2008-10-222-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57946 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: `make install' for libraries, executables and header files.Oscar Fuentes2008-10-221-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8
* Privatize PrintModulePass and PrintFunctionPass and addDaniel Dunbar2008-10-212-2/+2
| | | | | | | | createPrintModulePass and createPrintFunctionPass. - So clients who compile w/o RTTI can use them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57933 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-apply Makefile changes. Fix build with srcdir != objdir.Mikhail Glushenkov2008-10-1610-13/+60
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57636 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak the build. Please test out the proper fix for this by compiling LLVMBill Wendling2008-10-151-1/+3
| | | | | | | with the build directory different from the source directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57583 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary revert r57567 and unbreak the build.Anton Korobeynikov2008-10-157-56/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57578 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc2: Documentation update. Describe recent work on plugins.Mikhail Glushenkov2008-10-152-44/+110
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57568 91177308-0d34-0410-b5e6-96231b3b80d8
* llvmc2: Some Makefile fixes and renames.Mikhail Glushenkov2008-10-158-25/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57567 91177308-0d34-0410-b5e6-96231b3b80d8
* Use (a slightly modified) llvm.css for llvmc2 docs.Mikhail Glushenkov2008-10-153-3/+89
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57566 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix command-line option printing to print two spaces where needed,Dan Gohman2008-10-141-3/+3
| | | | | | | | | | instead of requiring all "short description" strings to begin with two spaces. This makes these strings less mysterious, and it fixes some cases where short description strings mistakenly did not begin with two spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57521 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build failure.Devang Patel2008-10-101-1/+8
| | | | | | | Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57355 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Reflected changes on source file structure. New plugin supportOscar Fuentes2008-10-042-32/+34
| | | | | | | for llvmc2 incomplete. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57076 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename llvmc2/core to llvmc2/driver.Mikhail Glushenkov2008-10-037-1/+1
| | | | | | Makefiles try to remove 'core' by default, so it wasn't a very good name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57031 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename llvmc2/src to llvmc2/core.Mikhail Glushenkov2008-10-037-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57000 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage when objdir!=srcdir (proper fix).Mikhail Glushenkov2008-10-035-10/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56999 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage (again) when srcdir != objdir, other small fixes.Mikhail Glushenkov2008-10-0311-34/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56998 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak the build.Bill Wendling2008-10-031-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56988 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build breakage.Mikhail Glushenkov2008-10-024-3/+44
| | | | | | Forgot to include Makefile.plugins. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56970 91177308-0d34-0410-b5e6-96231b3b80d8
* Build system tweaks to make it more convenient for the plugin authors.Mikhail Glushenkov2008-10-0211-263/+62
| | | | | | | | | | Plugins can be now compiled in with a slight Makefile change. For example, to compile the new Clang driver, use: cd $LLVMC2_DIR make TOOLNAME=ccc2 BUILTIN_PLUGINS=Clang git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56967 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid name shadowing with E variable defined in for(). This was giving VC++Bill Wendling2008-10-021-3/+3
| | | | | | | grief. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56961 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds all targets.Oscar Fuentes2008-09-261-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56641 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Lists of source files updated. Removed bogus dependency fromOscar Fuentes2008-09-241-0/+1
| | | | | | | lib/VMCore/CMakeLists.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56541 91177308-0d34-0410-b5e6-96231b3b80d8
* Rationalize the names of passes that print information:Duncan Sands2008-09-233-9/+10
| | | | | | | | | | | | | | | | | | -callgraph => print-callgraph -callscc => print-callgraph-sccs -cfgscc => print-cfg-sccs -externalfnconstants => print-externalfnconstants -print => print-function -print-alias-sets (no change) -print-callgraph => dot-callgraph -print-cfg => dot-cfg -print-cfg-only => dot-cfg-only -print-dom-info (no change) -printm => print-module -printusedtypes => print-used-types git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56487 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvmc2 plugins to use llvm/Support/Registry.h machinery.Mikhail Glushenkov2008-09-223-13/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56467 91177308-0d34-0410-b5e6-96231b3b80d8
* Move llvmc2 header files under include/llvm/CompilerDriverMikhail Glushenkov2008-09-229-488/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56466 91177308-0d34-0410-b5e6-96231b3b80d8
* Plugin support for llvmc2 (a-la opt).Mikhail Glushenkov2008-09-229-51/+153
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56465 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a 'Debugging' section to the documentation.Mikhail Glushenkov2008-09-221-1/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56464 91177308-0d34-0410-b5e6-96231b3b80d8