[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)
commitd86ea348636c2368029034561d5c2e3f0c8a2f75
tree2a74ecf5546b618c48749afcb1367ca882c6fd46
parent6c2eae9338403e080fd34e2325f3175dace21c10
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243932 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringMap.h