COFFDump.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #ifndef LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H
  9. #define LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H
  10. #include "llvm/ADT/SmallVector.h"
  11. namespace llvm {
  12. class Error;
  13. namespace object {
  14. class COFFObjectFile;
  15. class COFFImportFile;
  16. class RelocationRef;
  17. } // namespace object
  18. namespace objdump {
  19. Error getCOFFRelocationValueString(const object::COFFObjectFile *Obj,
  20. const object::RelocationRef &Rel,
  21. llvm::SmallVectorImpl<char> &Result);
  22. void printCOFFUnwindInfo(const object::COFFObjectFile *O);
  23. void printCOFFFileHeader(const object::COFFObjectFile &Obj);
  24. void printCOFFSymbolTable(const object::COFFImportFile &I);
  25. void printCOFFSymbolTable(const object::COFFObjectFile &O);
  26. } // namespace objdump
  27. } // namespace llvm
  28. #endif