Path: blob/main/contrib/llvm-project/llvm/tools/llvm-readobj/WindowsResourceDumper.h
35231 views
//===- WindowsResourceDumper.h - Windows Resource printer -------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_TOOLS_LLVM_READOBJ_WINDOWSRESOURCEDUMPER_H9#define LLVM_TOOLS_LLVM_READOBJ_WINDOWSRESOURCEDUMPER_H1011#include "llvm/Object/WindowsResource.h"12#include "llvm/Support/ScopedPrinter.h"1314namespace llvm {15namespace object {16namespace WindowsRes {1718class Dumper {19public:20Dumper(WindowsResource *Res, ScopedPrinter &SW) : SW(SW), WinRes(Res) {}2122Error printData();2324private:25ScopedPrinter &SW;26WindowsResource *WinRes;2728void printEntry(const ResourceEntryRef &Ref);29};3031} // namespace WindowsRes32} // namespace object33} // namespace llvm3435#endif363738