[LLVMdev] Using thin archives when building llvm

Rui Ueyama ruiu at google.com
Thu Jul 23 16:07:37 PDT 2015


On Thu, Jul 23, 2015 at 4:03 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> .
> >
> >
> > Even if the string table is in in-order in practice, you have to search
> for NUL characters byte-by-byte unless it's really guaranteed to be
> in-order, no?
> >
>
> No. Let's say we are at symbol N and want to find its size. Each symbol in
> the bsd format is represented with a pair of offsets. One to the member and
> one to the string table.
>
> We should be able to compute the symbol name size as the difference from
> the current symbol string table offset and the next symbol
>
Sorry, I was thinking of Microsoft-style archive file format.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150723/b28d02d0/attachment.html>


More information about the llvm-dev mailing list