Remove memory corruption bug. string.c_str() was returning a temporary that was
commit52d1fd9f9030e444eccd72ab64a114ae39310252
authorNick Lewycky <nicholas@mxc.ca>
Tue, 28 Jul 2009 06:53:50 +0000 (28 06:53 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 28 Jul 2009 06:53:50 +0000 (28 06:53 +0000)
tree12c40c0f270b6bd9d0193ebfd97747c1dbff6384
parent5b249dfab8f983563ef0bedbdddd59b8c38a9453
Remove memory corruption bug. string.c_str() was returning a temporary that was
dead before we used it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77304 91177308-0d34-0410-b5e6-96231b3b80d8
tools/lto/LTOModule.cpp