//===-- WindowsResourceDumper.cpp - Windows Resource printer --------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements the Windows resource (.res) dumper for llvm-readobj. // //===----------------------------------------------------------------------===// #include "WindowsResourceDumper.h" #include "llvm/Object/WindowsResource.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/ScopedPrinter.h" namespace llvm { namespace object { namespace WindowsRes { std::string stripUTF16(const ArrayRef<UTF16> &UTF16Str) { … } Error Dumper::printData() { … } void Dumper::printEntry(const ResourceEntryRef &Ref) { … } } // namespace WindowsRes } // namespace object } // namespace llvm