[PATCH] D111889: [AIX] Support of Big archive (read)

Digger Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 15 07:19:04 PDT 2021


DiggerLin updated this revision to Diff 379993.
DiggerLin added a comment.

1. Addressed the comments on the https://reviews.llvm.org/D100651

2.fixed the following problems:
2.1 add big ar identification in function file_magic llvm::identify_magic(StringRef Magic) . otherwise object::createBinary will be error for big ar.
2.2 can not correct reading a archive files which has padding data between too object file
2.3 can not correct reading a archive files from which some object file has be deleted


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111889/new/

https://reviews.llvm.org/D111889

Files:
  llvm/include/llvm/Object/Archive.h
  llvm/lib/BinaryFormat/Magic.cpp
  llvm/lib/Object/Archive.cpp
  llvm/lib/Object/ArchiveWriter.cpp
  llvm/test/Object/Inputs/bigFormat.a
  llvm/test/Object/archive-big-extract.test
  llvm/test/Object/archive-big-read.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111889.379993.patch
Type: text/x-patch
Size: 32047 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211015/778fede4/attachment.bin>


More information about the llvm-commits mailing list