[PATCH] D142660: [AIX] supporting -X options for llvm-ranlib in AIX OS
Digger Lin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 14:05:45 PST 2023
DiggerLin updated this revision to Diff 495270.
DiggerLin marked an inline comment as done.
DiggerLin added a comment.
In my previous implementation, It will only work on big archives with an empty global symbol table. if there is already a global symbol table (regardless of whether it's 32-bit or 64-bit) in the big archive, then llvm-ranlib -X will not do anything. (For example, if a big archive has a 64-bit global symbol table, then llvm-ranlib -X32 will not do anything). This is different from the AIX ranlib, where if there is only a 64-bit global symbol table, then -X32 will generate a 32-bit global symbol table, resulting in both the 32-bit and 64-bit global symbol tables being present in the big archive at the same time. I added the new functionality as AIX OS "ranlib"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142660/new/
https://reviews.llvm.org/D142660
Files:
llvm/include/llvm/Object/Archive.h
llvm/include/llvm/Object/ArchiveWriter.h
llvm/lib/Object/Archive.cpp
llvm/lib/Object/ArchiveWriter.cpp
llvm/test/tools/llvm-ranlib/aix-X-option.test
llvm/tools/llvm-ar/llvm-ar.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142660.495270.patch
Type: text/x-patch
Size: 14800 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230206/e7a49549/attachment.bin>
More information about the llvm-commits
mailing list