summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* llvm-config-2: Detect when we are running out of a BuildTools development ↵Daniel Dunbar2011-11-111-7/+18
| | | | | | tree, so that we can always provide library/include information for the real build directory. llvm-svn: 144420
* LLVMBuild: Add description files for the LLVM tools.Daniel Dunbar2011-11-1123-0/+529
| | | | llvm-svn: 144417
* Clients are responsible for initializing the targets, remove it from the ↵Benjamin Kramer2011-11-112-3/+11
| | | | | | | | | | disassembler API. This will break users of the LLVMCreateDisasm API (not that I know of any). They have to call the LLVMInitializeAll* functions from llvm-c/Target.h themselves now. edis' C API in all its horribleness should be unaffected. llvm-svn: 144385
* Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",Daniel Dunbar2011-11-1010-58/+932
| | | | | | which didn't appear ready for prime time. llvm-svn: 144309
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-1010-932/+58
| | | | llvm-svn: 144300
* llvm-config-2: Use USEDLIBS directly instead of LINK_COMPONENTS, which willDaniel Dunbar2011-11-101-1/+1
| | | | | | require this tool to resolve (currently). llvm-svn: 144299
* llvm-config-2: Fix thinko in maintenance of visited component set.Daniel Dunbar2011-11-101-7/+7
| | | | llvm-svn: 144291
* llvm-config: Drop 'backend' pseudo-component. We don't support/qualify the CBEDaniel Dunbar2011-11-091-2/+0
| | | | | | enough to have this be useful. llvm-svn: 144202
* llvm-config-2: Switch to using real library dependency table.Daniel Dunbar2011-11-091-10/+1
| | | | | | | | - Also, fix a refacto that left extra "all" component in list (this is now defined in the groups explicitly) - Reapply of r143879 now that Make should see needed deps. llvm-svn: 144201
* Use isa<> instead of dyn_cast<> as suggested by Nick.John McCall2011-11-091-1/+1
| | | | | | Should've read the patch a bit closer, sorry. llvm-svn: 144164
* Fix the printing of constants. Patch by Stepan Dyatkovskiy!John McCall2011-11-082-1/+5
| | | | llvm-svn: 144079
* Fix llvm-objdump's MachO mode to not depend on the value returned by ↵Owen Anderson2011-11-071-6/+6
| | | | | | RelocationRef::getInfo(). llvm-svn: 143966
* Revert "llvm-config-2: Switch to using real library dependency table." while IDaniel Dunbar2011-11-061-1/+10
| | | | | | investigate build failure. llvm-svn: 143888
* llvm-config: Users are allowed to provide component names in mixed case.Daniel Dunbar2011-11-061-2/+5
| | | | llvm-svn: 143881
* llvm-config-2: Switch to using real library dependency table.Daniel Dunbar2011-11-061-10/+1
| | | | | | | - Also, fix a refacto that left extra "all" component in list (this is now defined in the groups explicitly) llvm-svn: 143879
* Add more PRI.64 macros for MSVC and use them throughout the codebase.Benjamin Kramer2011-11-052-7/+7
| | | | llvm-svn: 143799
* Now that the linker supports lazily materialising globals, don'tPeter Collingbourne2011-11-051-4/+0
| | | | | | | | materialise them in LTO. I observed a ~0.5-1% speedup for an LTO link of opt. llvm-svn: 143784
* Use absolute path to exportsfile in gold plugin CMake build.Peter Collingbourne2011-11-051-1/+2
| | | | | | (Ninja generator requirement.) llvm-svn: 143783
* Reformatting changes to get rid of blank lines, put code on one line, and toBill Wendling2011-11-041-66/+58
| | | | | | decrease some code indentation. No intended functional changes. llvm-svn: 143723
* Move comment to the correct place.Bill Wendling2011-11-042-2/+1
| | | | llvm-svn: 143690
* Make the Mangler an ivar so that it doesn't have to be passed around everywhere.Bill Wendling2011-11-042-29/+23
| | | | llvm-svn: 143689
* Refactor the MCContext so that it's an ivar instead of a local which is passedBill Wendling2011-11-042-13/+13
| | | | | | around. This is important for some future work as well. llvm-svn: 143688
* llvm-config-2: Implement build system support for getting the variables we onlyDaniel Dunbar2011-11-035-10/+109
| | | | | | know at build time. llvm-svn: 143649
* build: Add initial cut at LLVMBuild.txt files.Daniel Dunbar2011-11-031-0/+22
| | | | llvm-svn: 143634
* llvm-config-2: Implement component dependency traversal, implement support ↵Daniel Dunbar2011-11-031-13/+90
| | | | | | | | for 'all', and fix a few other minor bugs. - Still doesn't use actual generated component table, but that is now just a matter of wiring into the build system. llvm-svn: 143617
* llvm-config: Start stubbing out a C++ version of llvm-config (as llvm-config-2,Daniel Dunbar2011-11-035-1/+283
| | | | | | | | | | | | | | | | for now). - Mostly complete except for the data that needs to come from the build system or the dependencies. - Has some small improvements from current llvm-config: o Uses TargetRegistry directly to get some information. o Designed to work correctly when used from a CMake build tree (relatively untested currently) (although pcc fixed this recently for old llvm-config). llvm-svn: 143616
* Remove some cruft from the BitcodeWriter, while still maintaining backwardChad Rosier2011-11-031-1/+2
| | | | | | compatibility in the BitcodeReader. llvm-svn: 143598
* Add back the top-level target for 'llvm-config' and the dependency edgeChandler Carruth2011-11-021-0/+7
| | | | | | | | | | | | to force it to build after all library targets so it has complete dependency information. This should fix broken 'make install' with CMake. This is a partial revert of r143540, but it doesn't revert the most important part of that change: removing the dependency edge from LLVM tools to the llvm-config script. llvm-svn: 143548
* build/Make: Get rid of llvm-config-perobj, which isn't used anymore.Daniel Dunbar2011-11-021-44/+0
| | | | llvm-svn: 143541
* build/CMake: Remove llvm-config.target used to serialize tool builds onDaniel Dunbar2011-11-021-11/+0
| | | | | | llvm-config build, there is no longer a point to this after Chandler's work. llvm-svn: 143540
* First part of support for generating dwarf for assembly source files with theKevin Enderby2011-11-011-0/+6
| | | | | | | | | | | | -g flag. In this part we generate the .file for the source being assembled and the .loc's for the assembled instructions. The next part will be to generate the dwarf Compile Unit DIE and a dwarf subprogram DIE for each non-temporary label. Once the next part is done test cases will be added. rdar://9275556 llvm-svn: 143509
* rename getHostTriple into getDefaultTargetTripleSebastian Pop2011-11-015-5/+5
| | | | llvm-svn: 143502
* A couple misc fixes so that bugpoint doesn't explode reducing code ↵Eli Friedman2011-11-011-1/+5
| | | | | | containing landingpads. llvm-svn: 143435
* Switch new .file directive emission off by default, change llc's flag for it toNick Lewycky2011-10-311-4/+4
| | | | | | -enable-dwarf-directory. llvm-svn: 143326
* uint64 formatted output: replaced %llx with PRIx64 macro.Stepan Dyatkovskiy2011-10-282-7/+7
| | | | llvm-svn: 143191
* Have llvm-config --cppflags print correct flags when in CMake build directoryPeter Collingbourne2011-10-283-1/+10
| | | | | | | | | | | | Previously, if invoked from a CMake build directory, 'llvm-config --cppflags' and friends would only print a -I flag for the build directory's header search path, because it would assume that it was already installed, not recognising its parent directory as being the build directory. Teach llvm-config about CMake build directories so that it prints a -I for both the source and build directory's search paths. llvm-svn: 143171
* Remove the Alpha backend.Dan Gohman2011-10-271-2/+1
| | | | llvm-svn: 143164
* Revert r143149, stubbing out symbolic disassembly support. The symbolic ↵Owen Anderson2011-10-271-45/+6
| | | | | | disassembly support is too MC-engrained to be useful in llvm-objdump. llvm-svn: 143152
* Stub out support for symbol disassembly in llvm-objdump.Owen Anderson2011-10-271-6/+45
| | | | llvm-svn: 143149
* Fixed llvm-objdump uint64_t formatted output.Stepan Dyatkovskiy2011-10-271-5/+5
| | | | llvm-svn: 143120
* Expand relocation type field to 64 bits. MachO scattered relocations ↵Owen Anderson2011-10-261-1/+1
| | | | | | require 33 bits of type info. llvm-svn: 143032
* llvm-nm: Use correct format string. Patch by Stepan Dyatkovskiy!Michael J. Spencer2011-10-251-2/+2
| | | | llvm-svn: 142984
* Add support for the notion of "hidden" relocations. On MachO, these are ↵Owen Anderson2011-10-251-0/+9
| | | | | | | | relocation entries that are used as additional information for other, real relocations, rather than being relocations themselves. I'm not familiar enough with ELF or COFF to know if they should have any relocations marked hidden. llvm-svn: 142961
* Fix off-by-one error when printing relocations inline with disassembly.Owen Anderson2011-10-251-1/+1
| | | | llvm-svn: 142952
* llvm-objdump: Add static symbol table dumping.Michael J. Spencer2011-10-181-1/+120
| | | | llvm-svn: 142404
* build: Tidy up a bunch of tool Makefiles, and simplify where possible using theDaniel Dunbar2011-10-1828-144/+106
| | | | | | new all-targets pseudo-component. llvm-svn: 142401
* llvm-ar: Remove local test target, this is no longer useful.Daniel Dunbar2011-10-181-7/+0
| | | | llvm-svn: 142400
* llvm-config: Add an all-targets pseudo-component.Daniel Dunbar2011-10-181-2/+6
| | | | llvm-svn: 142399
* Revert "llvm-objdump: Add static symbol table dumping."Michael J. Spencer2011-10-181-118/+1
| | | | | | This reverts commit 0c30d4e4f5f9110c5a67bd0ca84444dc58697596. llvm-svn: 142320
* llvm-objdump: Add static symbol table dumping.Michael J. Spencer2011-10-171-1/+118
| | | | llvm-svn: 142319
OpenPOWER on IntegriCloud