diff options
author | Sean Callanan <scallanan@apple.com> | 2010-04-13 21:21:57 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-04-13 21:21:57 +0000 |
commit | 814e69b17115903e68eeb62c2afe9c5d583c03ca (patch) | |
tree | 47c9238d65b65bf7fec4b4087154ec215ff775f0 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h | |
parent | b935b9370d1800a320635ae5db341d880e8502a0 (diff) | |
download | bcm5719-llvm-814e69b17115903e68eeb62c2afe9c5d583c03ca.tar.gz bcm5719-llvm-814e69b17115903e68eeb62c2afe9c5d583c03ca.zip |
Fixed a nasty layering violation in the edis source
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
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h')
-rw-r--r-- | llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h b/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h index 44592e0f156..e418b2ba51e 100644 --- a/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h +++ b/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.h @@ -24,6 +24,8 @@ class MCInst; class MemoryObject; class raw_ostream; +struct EDInstInfo; + /// ARMDisassembler - ARM disassembler for all ARM platforms. class ARMDisassembler : public MCDisassembler { public: @@ -42,6 +44,9 @@ public: const MemoryObject ®ion, uint64_t address, raw_ostream &vStream) const; + + /// getEDInfo - See MCDisassembler. + EDInstInfo *getEDInfo() const; private: }; @@ -82,6 +87,9 @@ public: const MemoryObject ®ion, uint64_t address, raw_ostream &vStream) const; + + /// getEDInfo - See MCDisassembler. + EDInstInfo *getEDInfo() const; private: Session SO; }; |