Alexey Samsonov
Alexey Samsonov
The code generated by Cython from pandas/algos.pyx contains an undefined behavior (invalid cast of floating-point number to integer): ``` easy_install -U Cython git clone git://github.com/pydata/pandas.git python setup.py install ``` The...
None of the recently added float16 functions are represented in https://github.com/llvm/llvm-project/blob/main/utils/bazel/llvm-project-overlay/libc/BUILD.bazel. We need to add proper `libc_math_functiion` rules for them.
The automemcpy framework in libc/benchmarks/automemcpy seems to be in a broken state today. The auto-generated code includes headers such as "elements.h" https://github.com/llvm/llvm-project/blob/64c921875a833136e7417c9077f55cc0c37773b7/libc/benchmarks/automemcpy/lib/CodeGen.cpp#L538 which were deleted years ago (534f4bca58f856eaecfcf4a698e7e6b2470349e4). Recent updates...
`read_unlocked` currently only supports _IOFBF buffering, this bug is to track adding support for _IOLBF and _IONBF modes. (note - `write_unlocked` already does have support for them). See WIP patch...
[libc][bazel] Reorganize Bazel rules to build "release" version of llvm-libc as a single cc_library
I'd like to propose a re-organization of llvm-libc Bazel macro to better support use case of creating an actual "llvm-libc library" (for now - in overlay mode) that the users...
Headers in `libc/shared/` are supposed to be included from other LLVM projects (e.g. libc++), and themselves also include internal bits of llvm-libc implementation. By design, all the functionality should be...
Currently, there's no supported way to invoke hdrgen tool from Bazel build. In order to support generating headers in Bazel build we need to: - [ ] Add integration with...
Today we use "posix" and "POSIX" interchangeably. Likewise, "GNUextensions" and "gnu". There are places in hdrgen (e.g. header description generation: https://github.com/llvm/llvm-project/blob/main/libc/utils/hdrgen/hdrgen/header.py#L45-L54) which assume a particular (lowercase) spelling, however. We need...
Today the implementation of `wcslcat` https://github.com/llvm/llvm-project/blob/c9b25a6437fd97fdb1e55ab6661c0cccce98913e/libc/src/wchar/wcslcat.cpp#L22-L24 is problematic: * it effectively calls unbounded wcslen on destination string (the length might be larger than `dstsize`) * computing `dstsize-dstlen-1` in size_t type...
According to POSIX, `inet_addr` should accept integers in decimal, octal, or hexadecimal format: https://pubs.opengroup.org/onlinepubs/9799919799/ Note that it does *not* allow the binary format (recently standardized in C23 strings with `0b`...