llvm-capstone/libc
Mikhail R. Gadelha 72e6f06119
[libc] Fix start up crash on 32 bit systems (#66210)
This patch changes the default types of argc/argv so it's no longer a
uint64_t in all systems, instead, it's now a uintptr_t, which fixes
crashes in 32-bit systems that expect 32-bit types. This patch also adds
two uintptr_t types (EnvironType and AuxEntryType) for the same reason.

The patch also adds a PgrHdrTableType type behind an ifdef that's
Elf64_Phdr in 64-bit systems and Elf32_Phdr in 32-bit systems.
2023-09-14 09:02:35 -04:00
..
AOR_v20.02 [NFC][Py Reformat] Reformat python files in the rest of the dirs 2023-05-25 11:17:05 +02:00
benchmarks [test][libc] Fix aligned_alloc argument 2023-08-07 16:36:20 -07:00
cmake/modules [libc][NFC] Make the dummy header target under overlay build a library. (#66329) 2023-09-13 22:52:20 -07:00
config [libc] Fix start up crash on 32 bit systems (#66210) 2023-09-14 09:02:35 -04:00
docs [libc] Remove common_libc_tuners.cmake and move options into config.json. (#66226) 2023-09-13 22:17:00 -07:00
examples Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
fuzzing [libc] Add fuzzing for printf floats 2023-08-15 16:23:24 -07:00
include [libc] Make time_t 64 bits long on all platforms but arm32 2023-09-13 10:49:39 -03:00
lib [libc] Build two different static archives libc.a and libm.a under full build. 2023-01-31 21:45:08 +00:00
spec [libc][math] Implement double precision exp10 function correctly rounded for all rounding modes. 2023-08-30 08:43:50 -04:00
src [libc] Fix some warnings (#66366) 2023-09-14 08:47:21 -04:00
startup [libc] Fix start up crash on 32 bit systems (#66210) 2023-09-14 09:02:35 -04:00
test [libc] Fix some warnings (#66366) 2023-09-14 08:47:21 -04:00
utils [libc] Fix building the RPC server with LIBC_NAMESPACE (#65642) 2023-09-07 12:47:36 -05:00
.clang-tidy [libc][NFC] Clean up clang-tidy warnings for src/__support and src/math. 2023-03-15 18:47:31 -04:00
.gitignore [libc][Obvious] Add build folder to .gitignore. 2022-03-04 13:16:55 -05:00
CMakeLists.txt [libc] Remove common_libc_tuners.cmake and move options into config.json. (#66226) 2023-09-13 22:17:00 -07: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.