diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-06-17 18:10:34 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-06-17 18:10:34 +0000 |
commit | 862c4a06ee0cfb7662bdba9d8dbb853342975bbf (patch) | |
tree | 3bd0f1aea53d519e5515f112e9ec3c570cb54702 /libcxxabi/src/stdexcept.cpp | |
parent | 1a359c5b01b4b51c1af54ef25cc8bb630e85695e (diff) | |
download | bcm5719-llvm-862c4a06ee0cfb7662bdba9d8dbb853342975bbf.tar.gz bcm5719-llvm-862c4a06ee0cfb7662bdba9d8dbb853342975bbf.zip |
Demangler update: This now demangles many more (all?) C++11 symbols. Demangler tests updated.
llvm-svn: 184097
Diffstat (limited to 'libcxxabi/src/stdexcept.cpp')
-rw-r--r-- | libcxxabi/src/stdexcept.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/stdexcept.cpp b/libcxxabi/src/stdexcept.cpp index de859db4581..48140b35faf 100644 --- a/libcxxabi/src/stdexcept.cpp +++ b/libcxxabi/src/stdexcept.cpp @@ -80,7 +80,7 @@ __libcpp_nmstr::__libcpp_nmstr(const char* msg) c->len = c->cap = len; str_ += offset; count() = 0; - std::strcpy(const_cast<char*>(c_str()), msg); + std::memcpy(const_cast<char*>(c_str()), msg, len + 1); } inline |