1 //===- Reader.h -------------------------------------------------*- 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_OBJCOPY_WASM_READER_H
10 #define LLVM_TOOLS_LLVM_OBJCOPY_WASM_READER_H
20 explicit Reader(const object::WasmObjectFile
&O
) : WasmObj(O
) {}
21 Expected
<std::unique_ptr
<Object
>> create() const;
24 const object::WasmObjectFile
&WasmObj
;
27 } // end namespace wasm
28 } // end namespace objcopy
29 } // end namespace llvm
31 #endif // LLVM_TOOLS_LLVM_OBJCOPY_WASM_READER_H