Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / tools / llvm-objdump / COFFDump.h
blob33a841df5874b95b22964067ddb938117d6a7ced
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H
10 #define LLVM_TOOLS_LLVM_OBJDUMP_COFFDUMP_H
12 #include "llvm/ADT/SmallVector.h"
14 namespace llvm {
16 class Error;
18 namespace object {
19 class COFFObjectFile;
20 class COFFImportFile;
21 class RelocationRef;
22 } // namespace object
24 namespace objdump {
25 Error getCOFFRelocationValueString(const object::COFFObjectFile *Obj,
26 const object::RelocationRef &Rel,
27 llvm::SmallVectorImpl<char> &Result);
29 void printCOFFUnwindInfo(const object::COFFObjectFile *O);
30 void printCOFFFileHeader(const object::COFFObjectFile &Obj);
31 void printCOFFSymbolTable(const object::COFFImportFile &I);
32 void printCOFFSymbolTable(const object::COFFObjectFile &O);
33 } // namespace objdump
34 } // namespace llvm
36 #endif