[LLVMdev] Formats supported by llvm/Object/Archive.h

Alexey Samsonov samsonov at google.com
Fri Aug 3 06:45:02 PDT 2012


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?

-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120803/059a6a5d/attachment.html>


More information about the llvm-dev mailing list