[libc-commits] [PATCH] D93457: [libc] Align src buffer instead of dst buffer

Andre Vieira via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jan 6 02:01:01 PST 2021


avieira added a comment.

Hi Guillaume,

Sorry for the late reply, I was looking at some other things and then holidays happened. I started looking at making some changes to CopyAlignedBlocks just like we discussed earlier. One of them is this one and I noticed this makes the MemcpyUtilsTest.CopyAlignedBlocks fail in libc_string_unittests. Specifically the ones that test destination misalignment. It seems the testing infrastructure keeps track of what bytes were read and written. I checked and making the source the misaligned input and switching the read and written expected traces makes it passs. Which makes sense I guess.

Would be good to make the change at the same time though.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93457/new/

https://reviews.llvm.org/D93457



More information about the libc-commits mailing list