<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/include, branch users/makslevental/ptr-dialectpython</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[libc] add various macros relate to *ADDR* (#164830)</title>
<updated>2025-11-08T12:39:26+00:00</updated>
<author>
<name>Connector Switch</name>
<email>c8ef@outlook.com</email>
</author>
<published>2025-11-08T12:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ffb5831fceac7dd0af461f0abd0bd66cdc6e77a8'/>
<id>ffb5831fceac7dd0af461f0abd0bd66cdc6e77a8</id>
<content type='text'>
This patch adds 4 macros in the `netinet/in.h` header, as specified by
POSIX standards.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds 4 macros in the `netinet/in.h` header, as specified by
POSIX standards.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][math] Refactor the `math_errhandling` macro definition (#166350)</title>
<updated>2025-11-05T16:59:55+00:00</updated>
<author>
<name>Victor Campos</name>
<email>victor.campos@arm.com</email>
</author>
<published>2025-11-05T16:59:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0b72899f6db93dab140415e800130c7c82c255b1'/>
<id>0b72899f6db93dab140415e800130c7c82c255b1</id>
<content type='text'>
This patch refactors the logic to define each component of the
`math_errhandling` macro.

It assumes that math error handling is supported by the target and the C
library unless otherwise disabled in the preprocessor logic.

In addition to the refactoring, the support for error handling via
exceptions is explicitly disabled for Arm targets with no FPU, that is,
where `__ARM_FP` is not defined. This is because LLVM libc does not
provide a floating-point environment for Arm no-FP configurations (or at
least one with support for FP exceptions).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch refactors the logic to define each component of the
`math_errhandling` macro.

It assumes that math error handling is supported by the target and the C
library unless otherwise disabled in the preprocessor logic.

In addition to the refactoring, the support for error handling via
exceptions is explicitly disabled for Arm targets with no FPU, that is,
where `__ARM_FP` is not defined. This is because LLVM libc does not
provide a floating-point environment for Arm no-FP configurations (or at
least one with support for FP exceptions).</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add chown and getgid implementations (#166434)</title>
<updated>2025-11-05T00:18:53+00:00</updated>
<author>
<name>Shubh Pachchigar</name>
<email>33875085+shubhe25p@users.noreply.github.com</email>
</author>
<published>2025-11-05T00:18:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0fd029858a819dfbc5e4ec18d456d055359b0317'/>
<id>0fd029858a819dfbc5e4ec18d456d055359b0317</id>
<content type='text'>
Implements chown and getgid per the POSIX specification and adds
corresponding unit tests. getgid is added as it is required by the chown
unit tests. This PR will address #165785

Co-authored-by: shubh@DOE &lt;shubhp@mbm3a24.local&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implements chown and getgid per the POSIX specification and adds
corresponding unit tests. getgid is added as it is required by the chown
unit tests. This PR will address #165785

Co-authored-by: shubh@DOE &lt;shubhp@mbm3a24.local&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add "struct tm" declaration to &lt;wchar.h&gt; (#165795)</title>
<updated>2025-10-31T03:30:49+00:00</updated>
<author>
<name>Alexey Samsonov</name>
<email>vonosmas@gmail.com</email>
</author>
<published>2025-10-31T03:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=42a8ff877d47131ecb1280a1cc7e5e3c3bca6952'/>
<id>42a8ff877d47131ecb1280a1cc7e5e3c3bca6952</id>
<content type='text'>
`&lt;wchar.h&gt;` should at least include the forward declaration of `struct tm`,
since it's needed for the `wcsftime` declaration (also, see
https://man7.org/linux/man-pages/man0/wchar.h.0p.html).

Even though we don't yet have `wcsftime`, some downstream users (notably
- libcxx) expects to see `struct tm` declaration there, to re-declare it under
`std` namespace:
https://github.com/llvm/llvm-project/blob/c46bfed1a484d30cd251a9a225649d74e3bf0af5/libcxx/include/cwchar#L135

So, add this type declaration to llvm-libc version of `wchar.h` now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`&lt;wchar.h&gt;` should at least include the forward declaration of `struct tm`,
since it's needed for the `wcsftime` declaration (also, see
https://man7.org/linux/man-pages/man0/wchar.h.0p.html).

Even though we don't yet have `wcsftime`, some downstream users (notably
- libcxx) expects to see `struct tm` declaration there, to re-declare it under
`std` namespace:
https://github.com/llvm/llvm-project/blob/c46bfed1a484d30cd251a9a225649d74e3bf0af5/libcxx/include/cwchar#L135

So, add this type declaration to llvm-libc version of `wchar.h` now.</pre>
</div>
</content>
</entry>
<entry>
<title>Add &lt;stdbool.h&gt; to llvm-libc-types headers that need it. (#165798)</title>
<updated>2025-10-30T23:37:00+00:00</updated>
<author>
<name>Alexey Samsonov</name>
<email>vonosmas@gmail.com</email>
</author>
<published>2025-10-30T23:37:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=45b1a4bb8d0f77a336730c9da7f15820c2869611'/>
<id>45b1a4bb8d0f77a336730c9da7f15820c2869611</id>
<content type='text'>
We need `&lt;stdbool.h&gt;` to support having "bool" members inside pthread
structs that may get included through `&lt;pthread.h&gt;` from C code prior to
C23.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need `&lt;stdbool.h&gt;` to support having "bool" members inside pthread
structs that may get included through `&lt;pthread.h&gt;` from C code prior to
C23.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][hdrgen] Sort identifiers with leading underscores specially (#165745)</title>
<updated>2025-10-30T18:49:22+00:00</updated>
<author>
<name>Roland McGrath</name>
<email>mcgrathr@google.com</email>
</author>
<published>2025-10-30T18:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a24a7548b845eba93d8c03079f8c6fcd923306a6'/>
<id>a24a7548b845eba93d8c03079f8c6fcd923306a6</id>
<content type='text'>
This makes the sorting behavior more uniform: functions and
macros are always sorted (separately), not only when merging.

This changes the sort order used for functions and other things
sorted by their symbol names.  Symbols are sorted alphabetically
without regard to leading underscores, and then for identifiers
that differ only in the number of leading underscores, the fewer
underscores the earlier in the sort order.  For the functions
declared in a generated header, adjacent names with and without
underscores will be grouped together without blank lines.

This is implemented by factoring the name field, equality, and
sorting support out of the various entity classes into a new
common superclass (hdrgen.Symbol).

This uncovered YAML's requirement to quote the string "NULL" to
avoid pyyaml parsing it as None (equivalent to Javascript null)
rather than a string.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes the sorting behavior more uniform: functions and
macros are always sorted (separately), not only when merging.

This changes the sort order used for functions and other things
sorted by their symbol names.  Symbols are sorted alphabetically
without regard to leading underscores, and then for identifiers
that differ only in the number of leading underscores, the fewer
underscores the earlier in the sort order.  For the functions
declared in a generated header, adjacent names with and without
underscores will be grouped together without blank lines.

This is implemented by factoring the name field, equality, and
sorting support out of the various entity classes into a new
common superclass (hdrgen.Symbol).

This uncovered YAML's requirement to quote the string "NULL" to
avoid pyyaml parsing it as None (equivalent to Javascript null)
rather than a string.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] add SIG_HOLD for linux/gpu (#165007)</title>
<updated>2025-10-25T04:34:03+00:00</updated>
<author>
<name>Connector Switch</name>
<email>c8ef@outlook.com</email>
</author>
<published>2025-10-25T04:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=30f9ce14b439ddb14a9624705ac573d7597d6ce2'/>
<id>30f9ce14b439ddb14a9624705ac573d7597d6ce2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] add missing headers in stdfix (#162078)</title>
<updated>2025-10-24T17:42:31+00:00</updated>
<author>
<name>Shreeyash Pandey</name>
<email>shreeyash335@gmail.com</email>
</author>
<published>2025-10-24T17:42:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a1dc546f7f2130b2a9b8c29f24ee57ad9002f5a3'/>
<id>a1dc546f7f2130b2a9b8c29f24ee57ad9002f5a3</id>
<content type='text'>
Fixes https://github.com/llvm/llvm-project/issues/129361

@michaelrj-google @PiJoules

---------

Signed-off-by: Shreeyash Pandey &lt;shreeyash335@gmail.com&gt;
Co-authored-by: Michael Jones &lt;michaelrj@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/llvm/llvm-project/issues/129361

@michaelrj-google @PiJoules

---------

Signed-off-by: Shreeyash Pandey &lt;shreeyash335@gmail.com&gt;
Co-authored-by: Michael Jones &lt;michaelrj@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][annex_k] Add Annex K support macros. (#163100)</title>
<updated>2025-10-22T18:25:27+00:00</updated>
<author>
<name>Muhammad Bassiouni</name>
<email>60100307+bassiounix@users.noreply.github.com</email>
</author>
<published>2025-10-22T18:25:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=58d4f180676776ed70f7408189f0fcd087919439'/>
<id>58d4f180676776ed70f7408189f0fcd087919439</id>
<content type='text'>
RFC https://discourse.llvm.org/t/rfc-bounds-checking-interfaces-for-llvm-libc/87685

Add internal support macros required by Annex K interface in LLVM libc.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC https://discourse.llvm.org/t/rfc-bounds-checking-interfaces-for-llvm-libc/87685

Add internal support macros required by Annex K interface in LLVM libc.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix a couple issues in &lt;wchar.h&gt; header (#164666)</title>
<updated>2025-10-22T18:09:42+00:00</updated>
<author>
<name>Alexey Samsonov</name>
<email>vonosmas@gmail.com</email>
</author>
<published>2025-10-22T18:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9fc353ee36d646ed0dc609734a364437265ec374'/>
<id>9fc353ee36d646ed0dc609734a364437265ec374</id>
<content type='text'>
* Add FILE type declaration, as it should be presented in `&lt;wchar.h&gt;`,
as well as in `&lt;stdio.h&gt;`
* Fix argument type in `wcsrtombs` / `wcsnrtombs` function - it should
be restrict pointer to `mbstate_t`. Add restrict qualifier to internal
implementation as well.

This brings us closer to being able to build libcxx with wide-character
support against llvm-libc headers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add FILE type declaration, as it should be presented in `&lt;wchar.h&gt;`,
as well as in `&lt;stdio.h&gt;`
* Fix argument type in `wcsrtombs` / `wcsnrtombs` function - it should
be restrict pointer to `mbstate_t`. Add restrict qualifier to internal
implementation as well.

This brings us closer to being able to build libcxx with wide-character
support against llvm-libc headers.</pre>
</div>
</content>
</entry>
</feed>
