[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)
commitc3820d09c783d141bb6a5b8f180e0e3870c429dc
tree4e4ff24dd48d6e8a00bea88348716c2e908ab84a
parentdabbaca7c90fc1b41be8ea047aa50c184386c81c
[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.

llvm-svn: 232335
llvm/tools/dsymutil/DwarfLinker.cpp