aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2022-07-18 20:36:17 -0700
committerLang Hames <lhames@gmail.com>2022-07-18 20:39:01 -0700
commit67220c2ad72e32cea18bb261366e64fe5de75b16 (patch)
tree6c2d13e7c16299983da05f35df741f880c7c8744 /libcxx/include/algorithm
parent58dfaaaace4ea75ab3588a6e738f2cf58ebf77c2 (diff)
downloadllvm-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