diff options
author | Lang Hames <lhames@gmail.com> | 2022-07-18 20:36:17 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-07-18 20:39:01 -0700 |
commit | 67220c2ad72e32cea18bb261366e64fe5de75b16 (patch) | |
tree | 6c2d13e7c16299983da05f35df741f880c7c8744 /libcxx/include/algorithm | |
parent | 58dfaaaace4ea75ab3588a6e738f2cf58ebf77c2 (diff) | |
download | llvm-67220c2ad72e32cea18bb261366e64fe5de75b16.zip llvm-67220c2ad72e32cea18bb261366e64fe5de75b16.tar.gz llvm-67220c2ad72e32cea18bb261366e64fe5de75b16.tar.bz2 |
[ORC] Fix serialization / deserialization of default-constructed ArrayRef<char>.
Avoids a zero-length memcpy from a null src, which caused errors on some of the
sanitizer bots. Also uses null when deserializing an empty ArrayRef (rather
than pointing to a zero length range in the middle of the input buffer).
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions