[llvm] [Object][Archive] Recompute headers and symbol map when switching from COFF to GNU64 (PR #160606)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 07:43:45 PDT 2025


================
@@ -0,0 +1,68 @@
+# RUN: yaml2obj --docnum=1 %s -o %t01234567890234567789.obj
+# RUN: yaml2obj --docnum=2 %s -o %t-ec.obj
+# RUN: env SYM64_THRESHOLD=100 llvm-lib -machine:amd64 -out:%t.lib %t01234567890234567789.obj
+# RUN: llvm-readobj %t.lib
----------------
mstorsjo wrote:

Can we check some aspect of the output here, instead of just requiring that `llvm-readobj` exits successfully?

https://github.com/llvm/llvm-project/pull/160606


More information about the llvm-commits mailing list