[llvm] [lld] [llvm-readobj][Object][COFF] Print COFF import library symbol export name. (PR #78769)
Jacek Caban via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 24 16:24:44 PST 2024
================
@@ -52,6 +52,32 @@ StringRef COFFImportFile::getFileFormatName() const {
}
}
+StringRef COFFImportFile::getExportName() const {
+ const coff_import_header *hdr = getCOFFImportHeader();
+ StringRef name = StringRef(Data.getBufferStart() + sizeof(*hdr));
----------------
cjacek wrote:
Good point, thanks. Fixed both comments in the new version.
https://github.com/llvm/llvm-project/pull/78769
More information about the llvm-commits
mailing list