[LLVMdev] Using thin archives when building llvm
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Jul 23 16:03:42 PDT 2015
.
>
>
> 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 string table
offset.
Cheers, Rafael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150723/754c9802/attachment.html>
More information about the llvm-dev
mailing list