[PATCH] D117284: [ELF] Allow non-bitcode archive with an empty index

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 14 05:29:20 PST 2022


sbc100 added a comment.

In D117284#3243218 <https://reviews.llvm.org/D117284#3243218>, @bd1976llvm wrote:

> Another advantage is that this behaviour allows users to "repair" archives with incomplete symbol tables by stripping the symbol table (maybe someone has added both ET_RELs and bitcode objects to the same archive with an ar which ignored the bitcocde symbols).

Isn't it already trivial to "repair" such libraries by running `ranlib` on them?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117284



More information about the llvm-commits mailing list