1 //===- Disassembler.h - Text File Disassembler ----------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This class implements the disassembler of strings of bytes written in
10 // hexadecimal, from standard input or from a file.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H
15 #define LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H
26 class MCSubtargetInfo;
28 class MCTargetOptions;
32 static int disassemble(const Target &T, const std::string &Triple,
33 MCSubtargetInfo &STI, MCStreamer &Streamer,
34 MemoryBuffer &Buffer, SourceMgr &SM, MCContext &Ctx,
35 raw_ostream &Out, const MCTargetOptions &MCOptions);