[PATCH] D124865: [AIX] support read global symbol of big archive

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 00:58:05 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-ar/malform-global-symbol-table-bigarchive.test:9
+## Truncate the file to end before the global symbol table header ends.
+# RUN: %python -c "with open('%/t.a', 'r+b') as input: input.truncate(656)"
+## Truncate the file to end before the global symbol table ends.
----------------
It may be useful to do `rm -rf %t && cd %t` at the top once you are using tricky lit feature like `%/t.a`... Then you can use regular filenames without the `%t` prefix.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124865



More information about the llvm-commits mailing list