[dsymutil] Add missing raw_svector_stream::resync() calls.
authorFrederic Riss <friss@apple.com>
Sun, 15 Mar 2015 22:20:28 +0000 (22:20 +0000)
committerFrederic Riss <friss@apple.com>
Sun, 15 Mar 2015 22:20:28 +0000 (22:20 +0000)
commite21a4196a1473520eeaafe791b53622f1f821175
tree1d039fcd40d864afde98f953375ecdc0da73f852
parentdca78825b7bc047aaf7b2620c6a65b26e59b5163
[dsymutil] Add missing raw_svector_stream::resync() calls.

Also, after looking at the raw_svector_stream internals, increase the
size of the SmallString used with it to prevent heap allocation.

Issue found by the Asan bot.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232335 91177308-0d34-0410-b5e6-96231b3b80d8
tools/dsymutil/DwarfLinker.cpp