More malloc elimination: it's a bad idea to use raw_svector_ostream on a
authorEli Friedman <eli.friedman@gmail.com>
Mon, 18 Apr 2011 05:38:58 +0000 (05:38 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 18 Apr 2011 05:38:58 +0000 (05:38 +0000)
commit24b9654f124c4da635ea791a9e11fff0ea0ff507
treed84311ddba048e1548528ba0fc64e652d851c586
parentf4387d9afb9100e181b96b3bca879b940715033d
More malloc elimination: it's a bad idea to use raw_svector_ostream on a
small heap-allocated SmallString because it unconditionally forces a malloc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129688 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectStreamer.cpp