1//===- Disassembler.h - Text File Disassembler ----------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 5 unchanged lines hidden (view full) ---
14
15#ifndef DISASSEMBLER_H
16#define DISASSEMBLER_H
17
18#include <string>
19
20namespace llvm {
21
22class MemoryBuffer;
23class Target;
24class TargetMachine;
25class raw_ostream;
26
27class Disassembler {
28public:
29 static int disassemble(const Target &target,
30 TargetMachine &TM,
31 const std::string &tripleString,
32 MemoryBuffer &buffer,
33 raw_ostream &Out);
34
35 static int disassembleEnhanced(const std::string &tripleString,
36 MemoryBuffer &buffer,
37 raw_ostream &Out);
38};
39
40} // namespace llvm
41
42#endif
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
--- 5 unchanged lines hidden (view full) ---
14
15#ifndef DISASSEMBLER_H
16#define DISASSEMBLER_H
17
18#include <string>
19
20namespace llvm {
21
22class MemoryBuffer;
23class Target;
24class TargetMachine;
25class raw_ostream;
26
27class Disassembler {
28public:
29 static int disassemble(const Target &target,
30 TargetMachine &TM,
31 const std::string &tripleString,
32 MemoryBuffer &buffer,
33 raw_ostream &Out);
34
35 static int disassembleEnhanced(const std::string &tripleString,
36 MemoryBuffer &buffer,
37 raw_ostream &Out);
38};
39
40} // namespace llvm
41
42#endif