1*097a140dSpatrick //===- Disassembler.h - Text File Disassembler ----------------------------===// 2*097a140dSpatrick // 3*097a140dSpatrick // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*097a140dSpatrick // See https://llvm.org/LICENSE.txt for license information. 5*097a140dSpatrick // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*097a140dSpatrick // 7*097a140dSpatrick //===----------------------------------------------------------------------===// 8*097a140dSpatrick // 9*097a140dSpatrick // This class implements the disassembler of strings of bytes written in 10*097a140dSpatrick // hexadecimal, from standard input or from a file. 11*097a140dSpatrick // 12*097a140dSpatrick //===----------------------------------------------------------------------===// 13*097a140dSpatrick 14*097a140dSpatrick #ifndef LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H 15*097a140dSpatrick #define LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H 16*097a140dSpatrick 17*097a140dSpatrick #include <string> 18*097a140dSpatrick 19*097a140dSpatrick namespace llvm { 20*097a140dSpatrick 21*097a140dSpatrick class MemoryBuffer; 22*097a140dSpatrick class Target; 23*097a140dSpatrick class raw_ostream; 24*097a140dSpatrick class SourceMgr; 25*097a140dSpatrick class MCSubtargetInfo; 26*097a140dSpatrick class MCStreamer; 27*097a140dSpatrick 28*097a140dSpatrick class Disassembler { 29*097a140dSpatrick public: 30*097a140dSpatrick static int disassemble(const Target &T, const std::string &Triple, 31*097a140dSpatrick MCSubtargetInfo &STI, MCStreamer &Streamer, 32*097a140dSpatrick MemoryBuffer &Buffer, SourceMgr &SM, raw_ostream &Out); 33*097a140dSpatrick }; 34*097a140dSpatrick 35*097a140dSpatrick } // namespace llvm 36*097a140dSpatrick 37*097a140dSpatrick #endif 38