Path: blob/main/contrib/llvm-project/llvm/tools/llvm-mc/Disassembler.h
35231 views
//===- Disassembler.h - Text File Disassembler ----------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This class implements the disassembler of strings of bytes written in9// hexadecimal, from standard input or from a file.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H14#define LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H1516#include <string>1718namespace llvm {1920class MemoryBuffer;21class Target;22class raw_ostream;23class SourceMgr;24class MCContext;25class MCSubtargetInfo;26class MCStreamer;27class MCTargetOptions;2829class Disassembler {30public:31static int disassemble(const Target &T, const std::string &Triple,32MCSubtargetInfo &STI, MCStreamer &Streamer,33MemoryBuffer &Buffer, SourceMgr &SM, MCContext &Ctx,34const MCTargetOptions &MCOptions);35};3637} // namespace llvm3839#endif404142