[UB] Fix another place where we would pass a null pointer to memcpy.
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Aug 2015 00:53:01 +0000 (00:53 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Aug 2015 00:53:01 +0000 (00:53 +0000)
commit13c247b45523ce787390aea806c3345b8038632d
tree0f64efbbc494ef5c749ab17db529cee9473ce9c7
parent0cbe2efcd6f3f83bbbd580bc366584127d9f6e87
[UB] Fix another place where we would pass a null pointer to memcpy.

This too was found by UBSan. Down to 35 failures for me.

llvm-svn: 243932
llvm/include/llvm/ADT/StringMap.h