summaryrefslogtreecommitdiff
path: root/tools/Makefile
Commit message (Collapse)AuthorAge
* autoconf: Introduce --with-clang-srcdir, to build out-of-tree clang as ↵NAKAMURA Takumi2011-10-16
| | | | | | tools/clang on tools/Makefile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142102 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm-size.Michael J. Spencer2011-09-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140722 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce llvm-cov.Devang Patel2011-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add llvm-cov skeleton. It has initial support to read coverage info generated by GCOVProfiling.cpp. Today, you can do prompt> clang a.c -ftest-coverage -fprofile-arcs -o a prompt> ./a prompt> llvm-cov -gcno a.gcno -gcda a.gcda a.c : #include "a.h" : : int main() { : int i = 0; : if (i) { 1: int j = 0; 1: j = 1; 1: } else { : int k = 1; : k = 2; : } 1: return 0; : } : : git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140712 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove llvmc and assorted build machinery for it.Eric Christopher2011-09-19
| | | | | | | | The problems that llvmc solved have largely been subsumed with the tasks that the clang driver can accomplish, but llvmc lacks flexibility and depends too heavily on the EOL'd llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140093 91177308-0d34-0410-b5e6-96231b3b80d8
* Sketch out a DWARF parser.Benjamin Kramer2011-09-13
| | | | | | | | | | This introduces a new library to LLVM: libDebugInfo. It will provide debug information parsing to LLVM. Much of the design and some of the code is taken from the LLDB project. It also contains an llvm-dwarfdump tool that can dump the abbrevs and DIEs from an object file. It can be used to write tests for DWARF input and output easily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139627 91177308-0d34-0410-b5e6-96231b3b80d8
* MachO file loader and execution utility.Jim Grosbach2011-03-18
| | | | | | | | | | | | | Add a bone-simple utility to load a MachO object into memory, look for a function (main) in it, and run that function directly. This will be used as a test and development platform for MC-JIT work regarding symbol resolution, dynamic lookup, etc.. Code by Daniel Dunbar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127885 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch lets LLDB build as an LLVM subproject. LLDB is not built inStephen Wilson2011-02-20
| | | | | | | | | | | | | | parallel with the rest of the tools directory as it depends on Clang. This patch was first applied in r125956 and subsequently reverted in r125964 as it broke in-tree builds. Makefile.rules was fixed up in r126070 to handle missing optional directories for the in-tree case, so it should be safe now to bring this patch back in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126071 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r125956, which broke the build if you _don't_ have lldb checked out.Owen Anderson2011-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125964 91177308-0d34-0410-b5e6-96231b3b80d8
* This patch lets LLDB build as an LLVM subproject. LLDB is not built inStephen Wilson2011-02-18
| | | | | | | | parallel with the rest of the tools directory as it depends on Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125956 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm-objdumpMichael J. Spencer2011-01-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123898 91177308-0d34-0410-b5e6-96231b3b80d8
* build: Fix ONLY_TOOLS to not build lto etc. unless specified.Daniel Dunbar2010-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121969 91177308-0d34-0410-b5e6-96231b3b80d8
* tools/Makefile: Don't look into $(TARGET_OS), but $(HOST_OS), to inspect ↵NAKAMURA Takumi2010-11-29
| | | | | | | | availability of loadable module! The last commit made run.build.step.test_llvm_1 to fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120283 91177308-0d34-0410-b5e6-96231b3b80d8
* tools/Makefile: Fix indentation.NAKAMURA Takumi2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120276 91177308-0d34-0410-b5e6-96231b3b80d8
* tools/Makefile: Enable building lto, edis and bugpoint-passes on Cygming.NAKAMURA Takumi2010-11-29
| | | | | | | bugpoint-passes would be built with ENABLE_SHARED=1. You could try building gold on Cygming, though, it would fail. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120275 91177308-0d34-0410-b5e6-96231b3b80d8
* macho-dump: Stub out C++ macho-dump tool.Daniel Dunbar2010-11-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120191 91177308-0d34-0410-b5e6-96231b3b80d8
* Add polly support to the build system.Tobias Grosser2010-10-30
| | | | | | | | | | | | | Update the cmake and autoconf build system to compile polly as a shared library if it is checked out into tools/polly. In case polly is not checked out, nothing changes. This models the way clang can be added to llvm if checked out to tools/clang. Also rebuild configure. Patch contributed by ether. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117755 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in a couple of changes that I apparently never committed:John McCall2010-08-24
| | | | | | | | | | | - teach DifferenceEngine to unify successors of calls and invokes in certain circumstances - basic blocks actually don't have their own numbering; did that change? - add llvm-diff to the Makefile and CMake build systems git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111909 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to build a plugin on windows.Rafael Espindola2010-08-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110573 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the bugpoint test passes to a plugin in preparation for having bugpointRafael Espindola2010-08-07
| | | | | | use opt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110520 91177308-0d34-0410-b5e6-96231b3b80d8
* fix DISABLE_EDISChris Lattner2010-07-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108925 91177308-0d34-0410-b5e6-96231b3b80d8
* start straightening out libedis's dependencies and make it fitChris Lattner2010-07-20
| | | | | | | | | | | | | | | | | | better in the llvm world. Among other things, this changes: 1. The guts of libedis are now moved into lib/MC/MCDisassembler 2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis, so edis and mc don't have to be built in series. 3. lib/MC/MCDisassembler no longer depends on the C api, the C API depends on it. 4. Various code cleanup changes. There is still a lot to be done to make edis fit with the llvm design, but this is an incremental step in the right direction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108869 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some broken code to check the DISABLE_EDIS flag (edis is now in theBob Wilson2010-07-14
| | | | | | | | | DIRS list, so it does no good to filter it from PARALLEL_DIRS), and replace it with a check to disable building the shared library version of edis when the flag is set. Disabling it entirely does not work because MC uses it now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108367 91177308-0d34-0410-b5e6-96231b3b80d8
* Build system fix to make llvm-mc properly buildSean Callanan2010-04-12
| | | | | | | | | after edis. Really, there ought to be some mechanism to ensure that PARALLEL_DIRS get built after DIRS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101095 91177308-0d34-0410-b5e6-96231b3b80d8
* Build system fixes. llvm-mc depends onSean Callanan2010-04-12
| | | | | | | | | | | | libEnhancedDisassembly, so we now build the static library in all cases (although the shared library is only built when requested/possible). Also, fixed a bug where edis wasn't properly initializing the targets it uses. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101072 91177308-0d34-0410-b5e6-96231b3b80d8
* Second try at integrating the edis tester. ThisSean Callanan2010-04-12
| | | | | | | | | | | | time I use the LIBS variable, which is not subject to a %.a -> -l% transformation, to link llvm-mc against libEnhancedDisassembly. llvm-mc -edis works the same as llvm-mc -disassemble, but outputs tokens and operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101058 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated the edis build mechanism to allow for buildsSean Callanan2010-04-10
| | | | | | | | that do not build some (or all) of the targets that edis supports. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100910 91177308-0d34-0410-b5e6-96231b3b80d8
* revert r100842 which broke several of the build bots.Chris Lattner2010-04-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100848 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a tester for the enhanced disassembler,Sean Callanan2010-04-09
| | | | | | | integrated into the llvm-mc testing tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100842 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove if DISABLED not if not DISABLED...Bill Wendling2010-03-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99343 91177308-0d34-0410-b5e6-96231b3b80d8
* Use "DISABLE_EDIS" to disable building "edis" explicitly. Don't build it forBill Wendling2010-03-23
| | | | | | | Apple-style builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99336 91177308-0d34-0410-b5e6-96231b3b80d8
* Attempt to fix random build failures seen when doing highlyDuncan Sands2010-03-09
| | | | | | | | parallel builds: the gold plugin fails to link because the lto library is in the middle of being written out by the linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98054 91177308-0d34-0410-b5e6-96231b3b80d8
* apparently if gold is around lto needs to be part of DIRS.Chris Lattner2010-03-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97780 91177308-0d34-0410-b5e6-96231b3b80d8
* Only build libedis if ENABLE_SHARED is specified, just like liblto.Chris Lattner2010-03-05
| | | | | | | | Don't build any of the dynamic library stuff on cygwin/mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97771 91177308-0d34-0410-b5e6-96231b3b80d8
* liblto and gold don't need to be built in serialChris Lattner2010-03-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97770 91177308-0d34-0410-b5e6-96231b3b80d8
* don't build edis if the x86 target isn't enabld.Chris Lattner2010-02-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97268 91177308-0d34-0410-b5e6-96231b3b80d8
* ...and fixed the Makefile.Sean Callanan2010-02-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95119 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a bare-bones Makefile to build the enhanced disassemblySean Callanan2010-01-29
| | | | | | | | | library as a static and a shared library. Added dependencies so the target-specific enhanced disassembly info tables are built before the library. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94780 91177308-0d34-0410-b5e6-96231b3b80d8
* remove llvm-db: it is completely broken and if anyone wants to do a debugger,Chris Lattner2009-10-05
| | | | | | | they should not base it on llvm-db (which not following almost any "best practices"). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83288 91177308-0d34-0410-b5e6-96231b3b80d8
* EXIT STAGE LEFT: gccas, gccldDaniel Dunbar2009-08-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80023 91177308-0d34-0410-b5e6-96231b3b80d8
* The attached patches attempt to fix cross builds. For example, if youAnton Korobeynikov2009-08-18
| | | | | | | | | | | | | try to use i686-darwin to build for arm-eabi, you'll quickly run into several false assumptions that the target OS must be the same as the host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to help builds like "make check" and the test-suite able to cross compile. Along the way a target of *-unknown-eabi is defined as "Freestanding" so that TARGET_OS checks have something to work with. Patch by Sandeep Patel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79296 91177308-0d34-0410-b5e6-96231b3b80d8
* LLVMC doesn't need ENABLE_PIC to build now.Mikhail Glushenkov2009-07-04
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74783 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't build LLVMC when configured with --disable-pic (it needs requires sharedDaniel Dunbar2009-06-29
| | | | | | | module support to build). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74456 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a skeleton driver for new machine code level fun. llvm-mc is meantChris Lattner2009-06-18
| | | | | | | | to be a test driver of other components in the system, which will develop over time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73732 91177308-0d34-0410-b5e6-96231b3b80d8
* aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin!Chris Lattner2009-04-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70082 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove clang since its conditionally there already.Tanya Lattner2009-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69610 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit the auto variables of a function into a different section than parameters.Sanjiv Gupta2009-04-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69605 91177308-0d34-0410-b5e6-96231b3b80d8
* Another bug :(Anton Korobeynikov2009-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66708 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak the build. Dunno, why it did not fail on mingw :(Anton Korobeynikov2009-03-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66692 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable plugins / shared stuff generation on windows targets.Anton Korobeynikov2009-03-11
| | | | | | | This fixes fallout from recent PIC/delibtoolize changes and unbreaks build on cygming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66686 91177308-0d34-0410-b5e6-96231b3b80d8
* ENABLE_PIC is either 0 or 1, but is always defined.Nick Lewycky2009-03-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65938 91177308-0d34-0410-b5e6-96231b3b80d8