llvm-capstone/libc
Mikhail R. Gadelha 8cd4ecfa60 [libc] Unify lseek implementations
In patch D157792, the calls to SYS_llseek/SYS_llseek for 32-bit systems
were fixed in lseek.cpp but there was another implementation in file.cpp
that was missed.

To reduce the code duplication, this patch unifies both call sites to
use a new lseekimpl function.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D159208
2023-09-06 11:56:41 -03: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] Add a JSON based config option system. 2023-09-05 14:19:18 +00:00
config [libc] Add a JSON based config option system. 2023-09-05 14:19:18 +00:00
docs Fix typos in documentation 2023-09-02 09:32:48 -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] Implement the 'abort' function on the GPU 2023-08-31 08:40:15 -05: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] Unify lseek implementations 2023-09-06 11:56:41 -03:00
startup [libc] Fix set_thread_ptr call in rv32 start up code 2023-08-30 11:30:56 -03:00
test [lldb] Fix duplicate word typos; NFC 2023-09-01 21:32:24 -07:00
utils [libc][fix] Fix buffer overrun in initialization of GPU return value 2023-09-02 17:59:01 -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] customizable namespace 1/4 (#65321) 2023-09-06 10:27:56 +02:00
common_libc_tuners.cmake [libc][NFC] Make tuning macros start with LIBC_COPT_ 2023-02-15 10:00:16 +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.