summaryrefslogtreecommitdiffstats
path: root/llvm/tools/edis/EDDisassembler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* start straightening out libedis's dependencies and make it fitChris Lattner2010-07-201-408/+0
| | | | | | | | | | | | | | | | 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. llvm-svn: 108869
* Target: Give the TargetAsmParser access to the TargetMachine.Daniel Dunbar2010-07-191-1/+2
| | | | | | - Unfortunate, but necessary for now to handle subtarget instruction matching. Eventually we should factor out the lower level target machine information so we don't need to do this. llvm-svn: 108664
* edis: Save the TargetMachine in the EDDisassembler object.Daniel Dunbar2010-07-191-5/+4
| | | | llvm-svn: 108663
* MC: Move several clients to using AsmParser constructor function.Daniel Dunbar2010-07-181-5/+6
| | | | llvm-svn: 108645
* MC: Pass the target instance to the AsmParser constructor.Daniel Dunbar2010-07-011-1/+1
| | | | llvm-svn: 107426
* Fixed edis to tokenize instructions with noSean Callanan2010-04-241-3/+5
| | | | | | operands correctly. llvm-svn: 102227
* Fixed a nasty layering violation in the edis sourceSean Callanan2010-04-131-52/+24
| | | | | | | | | | | | | | | code. It used to #include the enhanced disassembly information for the targets it supported straight out of lib/Target/{X86,ARM,...} but now it uses a new interface provided by MCDisassembler, and (so far) implemented by X86 and ARM. Also removed hacky #define-controlled initialization of targets in edis. If clients only want edis to initialize a limited set of targets, they can set --enable-targets on the configure command line. llvm-svn: 101179
* Updated the edis build mechanism to allow for buildsSean Callanan2010-04-101-0/+17
| | | | | | | that do not build some (or all) of the targets that edis supports. llvm-svn: 100910
* Bugfixes for edis. Code to initialize instructionSean Callanan2010-04-091-3/+3
| | | | | | | | state was being executed too lazily, and the LLVM assembly syntax for the disassembler was not being written into the proper disassembler state variable. llvm-svn: 100830
* Added support for ARM disassembly to edis.Sean Callanan2010-04-081-19/+55
| | | | | | | | | | | I also added a rule to the ARM target's Makefile to build the ARM-specific instruction information table for the enhanced disassembler. I will add the test harness for all this stuff in a separate commit. llvm-svn: 100735
* fix an ugly wart in the MCInstPrinter api where theChris Lattner2010-04-041-7/+3
| | | | | | | | raw_ostream to print an instruction to had to be specified at MCInstPrinter construction time instead of being able to pick at each call to printInstruction. llvm-svn: 100307
* change MCContext to always have an MCAsmInfo.Chris Lattner2010-03-111-6/+4
| | | | llvm-svn: 98293
* Renamed the ed directory to edis, as suggestedSean Callanan2010-02-021-0/+386
yesterday. This eliminates possible confusion about what exactly in this directory; the name is still short, though. llvm-svn: 95118
OpenPOWER on IntegriCloud