Don't memcpy from an empty ArrayRef; the base pointer could be null, and
the C rules say memcpy can't accept a null pointer. This should fix a test failure with the ubsan buildbots.
Loading
Please sign in to comment
the C rules say memcpy can't accept a null pointer. This should fix a test failure with the ubsan buildbots.