1 //===- llvm/Support/Disassembler.h ------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Anton Korobeynikov and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the necessary glue to call external disassembler
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_SUPPORT_DISASSEMBLER_H
16 #define LLVM_SUPPORT_DISASSEMBLER_H
18 #include "llvm/Support/DataTypes.h"
23 namespace Disassembler {
32 std::string disassembleBuffer(uint8_t* start, size_t length,
33 Disassembler::Type type, uint64_t pc);
36 #endif // LLVM_SUPPORT_DISASSEMBLER_H