Formats supported by llvm/Object/Archive.h

Hi, llvmdev

I’ve tried to use llvm/Object/Archive.h to print the archive symbol table for standard Unix .a files by slightly extending a code in llvm-nm,
and the code crashed with wild segfault. It looks like the implementation in lib/Object/Archive.cpp assumes completely different symbol table format from what I have
(which I believe is SVR4/GNU variant). Which archive formats does libObject support, and are there any plans to extend it?

I believe it currently only supports the llvm and Microsoft symbol
table format. I really should have documented that while writing the
code ;/

My intent was to extend it to support both gnu and bsd style formats.

- Michael Spencer

I see. Thanks for clarification!