Add a catch for std::length_error for the case where the string can't handle 2GB. (like say 32-bit big-endian)

llvm-svn: 325147
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: 36c4862a379d920600f95257fe0aa13cb5fd9d87
1 file changed