Only seek once before writing the member offsets.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Dec 2014 16:34:00 +0000 (16:34 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Dec 2014 16:34:00 +0000 (16:34 +0000)
commita2b768525303c710cd00815befe7345be3573f21
tree60c116b3b7a0399319e992dfcf5b308aca94208d
parent2f63b50761e5420225275d64f0a7a584f1cf1722
Only seek once before writing the member offsets.

This cuts down the number on system calls done by a static llvm-ar producing
lib/libclangSema.a from 9164 to 442.

llvm-svn: 224025
llvm/tools/llvm-ar/llvm-ar.cpp