summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Split Finish into Finish and FinishImpl to have a common place to do end ofRafael Espindola2012-01-071-1/+1
| | | | | | | | file error checking. Use that to error on an unfinished cfi_startproc. The error is not nice, but is already better than a segmentation fault. llvm-svn: 147717
* Remove extraneous ".get()->" which is just "->". No functionality change.Nick Lewycky2011-12-301-5/+5
| | | | llvm-svn: 147379
* Add braces to remove silly warning.Bill Wendling2011-12-251-1/+2
| | | | llvm-svn: 147264
* Remove unused variables.Rafael Espindola2011-12-251-1/+1
| | | | llvm-svn: 147261
* drop unneeded config.h includesDylan Noblesmith2011-12-223-3/+1
| | | | llvm-svn: 147197
* Unweaken vtables as per ↵David Blaikie2011-12-209-3/+15
| | | | | | http://llvm.org/docs/CodingStandards.html#ll_virtual_anch llvm-svn: 146960
* llvm-config: Fix --targets-built, I changed this to use the registry but wasn'tDaniel Dunbar2011-12-164-9/+5
| | | | | | | | properly initializing the target infos. I decided it wasn't worth linking them in for this, so just switched back to using the Makefile variable for now. We can reconsider later if we ever get pluggable targets. llvm-svn: 146711
* llvm-config: Update help text for removal of "backend" pseudo component.Daniel Dunbar2011-12-151-1/+0
| | | | llvm-svn: 146708
* llvm-nm: refactor in order to support reading files from stdin.Michael J. Spencer2011-12-131-31/+40
| | | | llvm-svn: 146524
* LLVMBuild: Introduce a common section which currently has a list of theDaniel Dunbar2011-12-121-0/+3
| | | | | | | | | | | subdirectories to traverse into. - Originally I wanted to avoid this and just autoscan, but this has one key flaw in that new subdirectories can not automatically trigger a rerun of the llvm-build tool. This is particularly a pain when switching back and forth between trees where one has added a subdirectory, as the dependencies will tend to be wrong. This will also eliminates FIXME implicitly. llvm-svn: 146436
* LLVMBuild: Remove trailing newline, which irked me.Daniel Dunbar2011-12-1224-24/+0
| | | | llvm-svn: 146409
* llvm-config: Default to "all" if no components are specified.Daniel Dunbar2011-12-121-0/+4
| | | | | | - Fixes PR11530. llvm-svn: 146388
* The second part of support for generating dwarf for assembly source files. ThisKevin Enderby2011-12-091-0/+14
| | | | | | | | | | generates the dwarf Compile Unit DIE and a dwarf subprogram DIE for each non-temporary label. The next part will be to get the clang driver to enable this when assembling a .s file. rdar://9275556 llvm-svn: 146262
* Update bcanalyzer to handle new USELIST_BLOCK/USELIST_CODE_ENTRY.Chad Rosier2011-12-071-0/+6
| | | | llvm-svn: 146079
* Have cmake build llvm-cov. Patch by arrowdodger.Duncan Sands2011-12-071-0/+1
| | | | llvm-svn: 146071
* When doing "opt -O2" verify the bitcode like is done forDuncan Sands2011-12-071-0/+2
| | | | | | "opt -std-compile-opts". llvm-svn: 146036
* Tidy up.Jim Grosbach2011-12-051-1/+1
| | | | llvm-svn: 145870
* Move global variables in TargetMachine into new TargetOptions class. As an APINick Lewycky2011-12-023-3/+162
| | | | | | | | | | | | change, now you need a TargetOptions object to create a TargetMachine. Clang patch to follow. One small functionality change in PTX. PTX had commented out the machine verifier parts in their copy of printAndVerify. That now calls the version in LLVMTargetMachine. Users of PTX who need verification disabled should rely on not passing the command-line flag to enable it. llvm-svn: 145714
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-12-0112-1292/+418
| | | | | | - Another reapply of r144300, with hopefully one last fix. llvm-svn: 145623
* llvm-config-2: Fix --cflags and --includedir which pointed at the wrongDaniel Dunbar2011-12-011-2/+1
| | | | | | directory when running from a build directory. llvm-svn: 145622
* Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.Duncan Sands2011-12-0112-419/+1293
| | | | | | | | Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145582
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-11-2910-932/+58
| | | | | | - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145449
* Fixed ObjectFile functions:Danil Malyshev2011-11-293-9/+11
| | | | | | | | | | | - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145408
* edis: Sink EDMain.cpp into lib/MC/MCDisassembler.Daniel Dunbar2011-11-295-342/+0
| | | | | | | - This fixes some layering violations and matches how we handle the llvm-c lib, for example. llvm-svn: 145338
* edis: Don't do the target initialization in EDGetDisassembler, this is contraryDaniel Dunbar2011-11-291-11/+0
| | | | | | | to the way we currently expect target selection to work -- clients are supposed to have control over what targets are available. llvm-svn: 145331
* build/Make: edis isn't built as a shared library anymore, remove related ↵Daniel Dunbar2011-11-291-23/+0
| | | | | | cruft from the Makefile. llvm-svn: 145329
* Revert r145180 as it is causing test failures on all the bots.Chandler Carruth2011-11-273-5/+5
| | | | | | | | | | | | | Original commit message: Fixed ObjectFile functions: - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145182
* Fixed ObjectFile functions:Danil Malyshev2011-11-273-5/+5
| | | | | | | | | | | - getSymbolOffset() renamed as getSymbolFileOffset() - getSymbolFileOffset(), getSymbolAddress(), getRelocationAddress() returns same result for ELFObjectFile, MachOObjectFile and COFFObjectFile. - added getRelocationOffset() - fixed MachOObjectFile::getSymbolSize() - fixed MachOObjectFile::getSymbolSection() - fixed MachOObjectFile::getSymbolOffset() for symbols without section data. llvm-svn: 145180
* remove support for reading llvm 2.9 .bc files. LLVM 3.1 is only compatible ↵Chris Lattner2011-11-271-10/+0
| | | | | | back to 3.0 llvm-svn: 145164
* Point to libLTO with -L/PATH/ -lLTO so that it is found in the installRafael Espindola2011-11-231-1/+1
| | | | | | | directory. Patch by Markus Trippelsdorf. llvm-svn: 145095
* Sink codegen optimization level into MCCodeGenInfo along side relocation modelEvan Cheng2011-11-161-14/+14
| | | | | | | and code model. This eliminates the need to pass OptLevel flag all over the place and makes it possible for any codegen pass to use this information. llvm-svn: 144788
* llvm-objdump: Ignore non-objects in archives.Michael J. Spencer2011-11-161-2/+4
| | | | llvm-svn: 144755
* Remove all remaining uses of Value::getNameStr().Benjamin Kramer2011-11-154-14/+14
| | | | llvm-svn: 144648
* 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
OpenPOWER on IntegriCloud