Fix Twine corruption problem with diagnostics.
authorDiego Novillo <dnovillo@google.com>
Thu, 30 Oct 2014 18:48:41 +0000 (18:48 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 30 Oct 2014 18:48:41 +0000 (18:48 +0000)
commit496bd0b8a5fe82d3f4f5740333dd6ee37f1d6838
treed12e06537c61944c0ccee7232621f3dbe1304277
parente75c2b3e5421c1d0b19f3d166001778c7ee80023
Fix Twine corruption problem with diagnostics.

This fixes the autobuilders I broke with a recent patch. Thanks echristo
and dblaikie for beating me with a clue stick.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220918 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SampleProfile.cpp