aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-08-19 23:03:45 +0000
committerTobias Grosser <tobias@grosser.es>2017-08-19 23:03:45 +0000
commit904111898305cae263179964cb2a689d27ff6512 (patch)
tree08d57207efb345f6a4f709d76fb99233bfe8ddd4 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenta0319bb434cb7ca1cac3c210f995d4418b15078d (diff)
downloadllvm-904111898305cae263179964cb2a689d27ff6512.zip
llvm-904111898305cae263179964cb2a689d27ff6512.tar.gz
llvm-904111898305cae263179964cb2a689d27ff6512.tar.bz2
[ManagedMemoryRewrite] Make pass more robust and fix memory issue
Instead of using Twines and temporary expressions, we do string manipulation through a std::string. This resolves a memory corruption issue, which likely was caused by twines loosing their underlying string too soon. llvm-svn: 311264
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions