37 lines · c
1//===-- COFFDump.h ----------------------------------------------*- C++ -*-===//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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H10#define LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H11 12#include "llvm/ADT/SmallVector.h"13 14namespace llvm {15 16class Error;17 18namespace object {19class COFFObjectFile;20class COFFImportFile;21class RelocationRef;22} // namespace object23 24namespace objdump {25Error getCOFFRelocationValueString(const object::COFFObjectFile *Obj,26 const object::RelocationRef &Rel,27 llvm::SmallVectorImpl<char> &Result);28 29void printCOFFUnwindInfo(const object::COFFObjectFile *O);30void printCOFFFileHeader(const object::COFFObjectFile &Obj);31void printCOFFSymbolTable(const object::COFFImportFile &I);32void printCOFFSymbolTable(const object::COFFObjectFile &O);33} // namespace objdump34} // namespace llvm35 36#endif37