Silence -Wunused-variable in release builds.
[llvm/stm8.git] / tools / llvm-mc / Disassembler.h
blob433e71bf2783e3fd63119d1d42443d9bab66e231
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 //===----------------------------------------------------------------------===//
9 //
10 // This class implements the disassembler of strings of bytes written in
11 // hexadecimal, from standard input or from a file.
13 //===----------------------------------------------------------------------===//
15 #ifndef DISASSEMBLER_H
16 #define DISASSEMBLER_H
18 #include <string>
20 namespace llvm {
22 class MemoryBuffer;
23 class Target;
24 class raw_ostream;
26 class Disassembler {
27 public:
28 static int disassemble(const Target &target,
29 const std::string &tripleString,
30 MemoryBuffer &buffer,
31 raw_ostream &Out);
33 static int disassembleEnhanced(const std::string &tripleString,
34 MemoryBuffer &buffer,
35 raw_ostream &Out);
38 } // namespace llvm
40 #endif