llvm/libc
Michael Jones 72f6dfb378 [libc][windows] fix strlcpy tests
Generally, size_t is an alias for unsigned long long. In the strlcpy
tests, the return value of strlcpy (a size_t) is compared to an unsigned
long. On Linux unsigned long and unsigned long long are both 64 bits,
but on windows unsigned long is 32 bits. Since the macros require
identical types for both sides, this caused a build failure on windows.
This patch changes the constants to be explicit size_t values.

Differential Revision: https://reviews.llvm.org/D125917
2022-05-18 14:11:53 -07:00
..
AOR_v20.02
benchmarks [NFC][libc] Disable benchmarks when the LLVM benchmark target is not available 2022-03-29 08:45:53 +00:00
cmake/modules [libc][Obvious] Fix cmake usage of list PREPEND (unavailable pre-3.15). 2022-05-08 13:58:05 -04:00
config [libc] Add strlcpy 2022-05-18 17:45:05 +00:00
docs [libc][docs] Add doc for libc stdio functions 2022-05-12 13:02:23 -07:00
fuzzing [libc][NFC] split standalone_cpp into single headers 2022-03-08 11:56:08 -08:00
include [libc] Add the implementation of the GNU extension function fopencookie. 2022-04-22 08:02:25 +00:00
lib
loader [libc] Use real objects and archives in integration tests. 2022-03-24 07:02:33 +00:00
spec [libc] fix missing semicolon in bsd_ext.td 2022-05-18 11:22:26 -07:00
src [libc] Add strlcpy 2022-05-18 17:45:05 +00:00
test [libc][windows] fix strlcpy tests 2022-05-18 14:11:53 -07:00
utils [libc] add uint128 implementation 2022-05-12 11:16:53 -07:00
.clang-tidy
.gitignore [libc][Obvious] Add build folder to .gitignore. 2022-03-04 13:16:55 -05:00
CMakeLists.txt [NFC][libc] Disable benchmarks when the LLVM benchmark target is not available 2022-03-29 08:45:53 +00:00
LICENSE.TXT
README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.