Don't use Twine objects after their lifetimes end.
authorFilipe Cabecinhas <me@filcab.net>
Tue, 3 Nov 2015 13:48:21 +0000 (13:48 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Tue, 3 Nov 2015 13:48:21 +0000 (13:48 +0000)
commitb6e9fa5e101e226cd6174e378d31a18995e9b02c
treee1fffc13518ecda133dccec58071f4df14ab464f
parent2c4a333422f4fb220f0afcb1ba316940cb92db31
Don't use Twine objects after their lifetimes end.

No test, since it would depend on what the compiler can optimize/reuse.
My next commit made this bug visible on Linux Release compiles with some
versions of gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitcodeReader.cpp