Reinstate r133516 "Remove some unnecessary uses of c_str()." A trailing null
authorChad Rosier <mcrosier@apple.com>
Tue, 28 Jun 2011 18:26:12 +0000 (18:26 +0000)
committerChad Rosier <mcrosier@apple.com>
Tue, 28 Jun 2011 18:26:12 +0000 (18:26 +0000)
commitbd35f27ce9ecf7a6e6e1028dfc8652023cab265b
treef5768b2bdefb6bd557e1907316c10a2a94f30e72
parent118c9a0c494c97fe23c43f3e2aca553aea3a4f16
Reinstate r133516 "Remove some unnecessary uses of c_str()."  A trailing null
character in std::string was causing failures for a few ObjC and Obj-C++ tests
when -flto was enabled.  Revision 133999 resolved this issue. Thanks Jay!
rdar://9685235
PR10210

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