diff options
author | John Criswell <criswell@uiuc.edu> | 2003-12-20 22:37:29 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-12-20 22:37:29 +0000 |
commit | 1118d0fd945eb2430dace89b7df7b1cf60f149f3 (patch) | |
tree | 7fcb915f77e0b5746fd9c515ff2d3787d4a14f06 /lib/Target/X86/InstSelectSimple.cpp | |
parent | 3e58e48d20b85c1eeb935f7ada951865200513f5 (diff) |
Fix PR#193.
Modified ReadArchiveBuffer() so that it dynamically allocates the
std::string object used to hold the bytecode object file's name. This is
necessary because it is passed by reference to the new Module that is
allocated to represent the bytecode object, and previously we were
using a std::string that disappeared on function exit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
0 files changed, 0 insertions, 0 deletions