Use c_str() to force the string to be nul-terminated.
authorDan Gohman <gohman@apple.com>
Fri, 6 Mar 2009 18:13:15 +0000 (18:13 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 6 Mar 2009 18:13:15 +0000 (18:13 +0000)
commitc7ffc9efd6b44de852e652abde23df746a1704e4
treed60624a0e6e604075335eede3361d7c6a44f3424
parent827632a569eb3e66ccd34f8e156c8db64441df0a
Use c_str() to force the string to be nul-terminated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66279 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/PrettyStackTrace.cpp