[llvm] big archive recognition by the llvm-symbolizer (PR #150401)

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 25 08:43:05 PDT 2025


================
@@ -535,16 +535,20 @@ MACH-O SPECIFIC OPTIONS
 .. option:: --default-arch <arch>
 
   If a binary contains object files for multiple architectures (e.g. it is a
-  Mach-O universal binary), symbolize the object file for a given architecture.
-  You can also specify the architecture by writing ``binary_name:arch_name`` in
-  the input (see example below). If the architecture is not specified in either
-  way, the address will not be symbolized. Defaults to empty string.
+  Mach-O universal binary or an AIX archive with architecture variants),
+  symbolize the object file for a given architecture. You can also specify
+  the architecture by writing ``binary_name:arch_name`` in the input (see
+  example below). For AIX archives, the format ``archive.a(member.o):arch``
----------------
hubert-reinterpretcast wrote:

Testing should be added for processing this format from `stdin` (without reliance on the default arch).

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


More information about the llvm-commits mailing list