commit | 9ea290684c7283a8b7c805b3441431cbaa840079 | [log] [tgz] |
---|---|---|
author | Cheng Wang <chennngwang@gmail.com> | Thu Sep 09 18:05:06 2021 +0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Sep 10 03:38:00 2021 -0700 |
tree | 02c09ba9ea336b71c0000baf699444f15cd3fc1e | |
parent | 61f6bbc71ecd59809e126e8cf898a2bbfe2e9fcf [diff] |
[libc] Check signs instead of values in memcmp unittests. The C standard only guarantees the sign of return value. The exact return value is implementation defined. Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D109588 GitOrigin-RevId: 2fc1913505e3d5f48b3d5d84ce372a34e661fc7e