| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] Implement clock_gettime for the monotonic clock on the GPU (#99067) Summary: This patch implements clock_gettime using the monotonic clock. This allows users to get time elapsed at nanosecond resolution. This is primarily to facilitate compiling the chrono library from libc++. For this reason we provide both CLOCK_MONOTONIC, which we can implement with the GPU's global fixed-frequency clock, and CLOCK_REALTIME which we cannot. The latter is provided just to make people who use this header happy and it will always return failure. | 2 年前 | |
[libc] Change fsfilcnt_t and fsblkcnt_t to be 64-bits long (#99876) In 32-bit systems with 64-bit offsets, both fsfilcnt_t and fsblkcnt_t are 64-bit long, just like 64-bit systems. This patch changes both types to be 64-bit long for all platforms and follows the reasoning used to change off_t: the standard only requires it to be an unsigned int, so making it 64-bit long doesn't violate this property. It should be NFC for 64-bit systems. | 2 年前 | |
[libc] remove include_file headergen usage (#96970) Previously headergen had a mechanism to copy the contents of one file inot another. This wasn't ever used properly, and isn't supported by the new headergen design. We will investigate better ways to support different syscall definitions in future. | 2 年前 | |
[libc][newhdrgen] Remove redundant yaml prefixes (#99581) Since the yaml files are already organized into folders, the name of the file doesn't also need to be prefixed by what folder it's in. | 2 年前 | |
[libc] fix clang-tidy llvm-header-guard warnings (#82679) Towards the goal of getting ninja libc-lint back to green, fix the numerous instances of: warning: header guard does not follow preferred style [llvm-header-guard] This is because many of our header guards start with __LLVM rather than LLVM. To filter just these warnings: $ ninja -k2000 libc-lint 2>&1 | grep llvm-header-guard To automatically apply fixits: $ find libc/src libc/include libc/test -name \*.h | \ xargs -n1 -I {} clang-tidy {} -p build/compile_commands.json \ -checks='-*,llvm-header-guard' --fix --quiet Some manual cleanup is still necessary as headers that were missing header guards outright will have them inserted before the license block (we prefer them after). | 2 年前 | |
[libc] Make static_assert available even if NDEBUG is set (#99742) This addresses an issue introduced in #98826 where static_assert was made defined only when NDEBUG is not set which is different from all other C libraries and breaks any code that uses static_assert and doesn't guard it with NDEBUG. | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] Add dlfcn.h headers (#97772) | 2 年前 | |
[libc] Support configurable errno modes (#98287) Rather than selecting the errno implementation based on the platform which doesn't provide the necessary flexibility, make it configurable. The errno value location is returned by int *__llvm_libc_errno() which is a common design used by other C libraries. | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] Provide isnan, isnanf and isnanl functions (#96008) While C99 defines type generic isnan macro, BSD provided isnan, isnanf and isnanl in prior C standards and existing code still relies on these. | 2 年前 | |
[libc] add rwlock (#94156) | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc][arm] implement a basic setjmp/longjmp (#93220) Note: our baremetal arm configuration compiles this as --target=arm-none-eabi, so this code is built in -marm mode. It could be smaller with --target=armv7-none-eabi -mthumb. The assembler is valid ARMv5, or THUMB2, but not THUMB(1). | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] Implement clock_gettime for the monotonic clock on the GPU (#99067) Summary: This patch implements clock_gettime using the monotonic clock. This allows users to get time elapsed at nanosecond resolution. This is primarily to facilitate compiling the chrono library from libc++. For this reason we provide both CLOCK_MONOTONIC, which we can implement with the GPU's global fixed-frequency clock, and CLOCK_REALTIME which we cannot. The latter is provided just to make people who use this header happy and it will always return failure. | 2 年前 | |
[libc] Enable 'wchar.h' for the GPU (#98973) Summary: This file is not really well populated, but is required for some targets to configure. Enable it on the GPU for now. | 2 年前 | |
[libc] fix up the use of angle includes in include/ (#86027) Performed en-masse via: $ grep -rn "#include <ll" libc/include -l | \ xargs perl -pi -e 's/#include <ll(.*)>/#include "ll$1"/' $ grep -rn "#include <__" libc/include -l | \ xargs perl -pi -e 's/#include <__(.*)>/#include "__$1"/' Link: #83463 Link: #83210 | 2 年前 | |
[libc] Enable 'wchar.h' for the GPU (#98973) Summary: This file is not really well populated, but is required for some targets to configure. Enable it on the GPU for now. | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 |