[llvm] [llvm-symbolizer] Recognize AIX big archive (PR #150401)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 10 13:20:33 PST 2025
================
@@ -0,0 +1,33 @@
+// Test big archive recognition and error handling in llvm-symbolizer.
+
+// Generate object files.
+// RUN: yaml2obj -o %t-32.o %S/Inputs/big-archive-32.yaml
+// RUN: yaml2obj -o %t-64.o %S/Inputs/big-archive-64.yaml
+
+// Create archive with same-named members using different modes.
+// RUN: rm -f %t.a
+// RUN: cp %t-32.o %t.o
+// RUN: llvm-ar %if system-aix %{-X32%} crv %t.a %t.o
+// RUN: cp %t-64.o %t.o
+// RUN: llvm-ar %if system-aix %{-X64 rv%} %else %{qv%} %t.a %t.o
+
+// Verify archive contains two members with same name.
----------------
midhuncodes7 wrote:
Removed unrelated check(llvm-ar), and yes coverage exists in other tests specific to archives
https://github.com/llvm/llvm-project/pull/150401
More information about the llvm-commits
mailing list