<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 10:30 PM, Michael Spencer <span dir="ltr"><<a href="mailto:bigcheesegs@gmail.com" target="_blank">bigcheesegs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Fri, Aug 3, 2012 at 6:45 AM, Alexey Samsonov <<a href="mailto:samsonov@google.com">samsonov@google.com</a>> wrote:<br>
> Hi, llvmdev<br>
><br>
> I've tried to use llvm/Object/Archive.h to print the archive symbol table<br>
> for standard Unix .a files by slightly extending a code in llvm-nm,<br>
> and the code crashed with wild segfault. It looks like the implementation in<br>
> lib/Object/Archive.cpp assumes completely different symbol table format from<br>
> what I have<br>
> (which I believe is SVR4/GNU variant). Which archive formats does libObject<br>
> support, and are there any plans to extend it?<br>
><br>
> --<br>
> Alexey Samsonov, MSK<br>
><br>
<br>
</div></div>I believe it currently only supports the llvm and Microsoft symbol<br>
table format. I really should have documented that while writing the<br>
code ;/<br>
<br>
My intent was to extend it to support both gnu and bsd style formats.</blockquote><div><br></div><div>I see. Thanks for clarification! </div></div><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>