COFFDump.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 ObjectFile;
  17. class RelocationRef;
  18. } // namespace object
  19. namespace objdump {
  20. Error getCOFFRelocationValueString(const object::COFFObjectFile *Obj,
  21. const object::RelocationRef &Rel,
  22. llvm::SmallVectorImpl<char> &Result);
  23. void printCOFFUnwindInfo(const object::COFFObjectFile *O);
  24. void printCOFFFileHeader(const object::ObjectFile *O);
  25. void printCOFFSymbolTable(const object::COFFImportFile *I);
  26. void printCOFFSymbolTable(const object::COFFObjectFile *O);
  27. } // namespace objdump
  28. } // namespace llvm
  29. #endif