[UpdateCCTestChecks] Detect function mangled name on separate line
[llvm-core.git] / tools / llvm-mc / Disassembler.h
blob11b685233abcc3755925a0896c443194224b5c7b
1 //===- Disassembler.h - Text File Disassembler ----------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
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
17 #include <string>
19 namespace llvm {
21 class MemoryBuffer;
22 class Target;
23 class raw_ostream;
24 class SourceMgr;
25 class MCSubtargetInfo;
26 class MCStreamer;
28 class Disassembler {
29 public:
30 static int disassemble(const Target &T,
31 const std::string &Triple,
32 MCSubtargetInfo &STI,
33 MCStreamer &Streamer,
34 MemoryBuffer &Buffer,
35 SourceMgr &SM,
36 raw_ostream &Out);
39 } // namespace llvm
41 #endif