[PATCH] D57937: [llvm-ar] Rewrite the symbol table when it is invalid.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 19:53:52 PST 2019


ruiu added inline comments.


================
Comment at: llvm/lib/Object/Archive.cpp:997
+
+bool Archive::isSymbolTableValid() const {
+  for (const Archive::Symbol &Sym : symbols()) {
----------------
It seems that this function detect certain type of breakage. What kind of breakage does this logic can catch? Is that that common and no other types of breakage uncmmon?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D57937





More information about the llvm-commits mailing list