[PATCH] D129088: [llvm-ar][test] Add testing for bitcode file handling

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 10:14:45 PDT 2022


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/test/tools/llvm-ar/bitcode.ll:22
+# SYMS: Archive map
+# SYMS: gdata in a.bc
+# SYMS: gfunc in a.bc
----------------
These lines can use -NEXT:


================
Comment at: llvm/test/tools/llvm-ar/bitcode.ll:35
+# NOSYMS: a.bc:
+# NOSYMS: -------- D gdata
+# NOSYMS: -------- T gfunc
----------------
These lines can use -NEXT:



================
Comment at: llvm/test/tools/llvm-ar/bitcode.ll:89
+# RUN: llvm-ar x ../new.a a.bc
+# RUN: diff a.bc a.bc
+
----------------
Prefer `cmp` for binary files.


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

https://reviews.llvm.org/D129088



More information about the llvm-commits mailing list