PR10210: New method ConstantArray::getAsCString(). Use it in LTO to
authorJay Foad <jay.foad@gmail.com>
Tue, 28 Jun 2011 08:24:19 +0000 (08:24 +0000)
committerJay Foad <jay.foad@gmail.com>
Tue, 28 Jun 2011 08:24:19 +0000 (08:24 +0000)
commit4f91054fe4a593f23b46abe359d2df9aebc50f10
treefd9004ff73f3cca95b24004144ac96b7b65b286a
parent4086bb5ba58ed83dba4991599c00bfba34693d3a
PR10210: New method ConstantArray::getAsCString(). Use it in LTO to
avoid getting embedded trailing null bytes in std::strings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133999 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constants.h
lib/VMCore/Constants.cpp
tools/lto/LTOModule.cpp