[llvm-objcopy] [COFF] Fix warnings abuilt missing field initialization. NFC.
[llvm-complete.git] / tools / llvm-mc / Disassembler.h
blob1f18ac075f854be6a2fe2e56edc8cfbebd7da45b
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 LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H
16 #define LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H
18 #include <string>
20 namespace llvm {
22 class MemoryBuffer;
23 class Target;
24 class raw_ostream;
25 class SourceMgr;
26 class MCSubtargetInfo;
27 class MCStreamer;
29 class Disassembler {
30 public:
31 static int disassemble(const Target &T,
32 const std::string &Triple,
33 MCSubtargetInfo &STI,
34 MCStreamer &Streamer,
35 MemoryBuffer &Buffer,
36 SourceMgr &SM,
37 raw_ostream &Out);
40 } // namespace llvm
42 #endif