1 //===-- WasmDump.h - wasm-specific dumper -----------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_TOOLS_LLVM_OBJDUMP_WASMDUMP_H
10 #define LLVM_TOOLS_LLVM_OBJDUMP_WASMDUMP_H
12 #include "llvm/ADT/SmallVector.h"
26 Error
getWasmRelocationValueString(const object::WasmObjectFile
*Obj
,
27 const object::RelocationRef
&RelRef
,
28 llvm::SmallVectorImpl
<char> &Result
);
30 void printWasmFileHeader(const object::ObjectFile
*O
);
32 } // namespace objdump