Shrink character buffer size in raw_ostream::write_hex to 16 characters intead of 20 as that's the largest string a 64-bit hex value can be.

llvm-svn: 259313
This commit is contained in:
Craig Topper 2016-01-31 01:12:38 +00:00
parent 10624d8809
commit d406f34e77

View File

@ -166,7 +166,7 @@ raw_ostream &raw_ostream::write_hex(unsigned long long N) {
if (N == 0)
return *this << '0';
char NumberBuffer[20];
char NumberBuffer[16];
char *EndPtr = std::end(NumberBuffer);
char *CurPtr = EndPtr;