<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/test, branch users/nico/python-2</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>Revert "Fix wcpncpy() return value; add test." (#146752)</title>
<updated>2025-07-02T18:08:21+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-07-02T18:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=77d95911a3a4dc7445280cd5ee217e2a47a41b47'/>
<id>77d95911a3a4dc7445280cd5ee217e2a47a41b47</id>
<content type='text'>
This reverts commit 988876cdd918d5b945a072a3d643b5fa22ae2917.
Was intended to be a PR</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 988876cdd918d5b945a072a3d643b5fa22ae2917.
Was intended to be a PR</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wcpncpy() return value; add test.</title>
<updated>2025-07-02T18:00:02+00:00</updated>
<author>
<name>enh-google</name>
<email>enh@google.com</email>
</author>
<published>2025-07-02T18:00:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=988876cdd918d5b945a072a3d643b5fa22ae2917'/>
<id>988876cdd918d5b945a072a3d643b5fa22ae2917</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix internal alignment in allcoator (#146738)</title>
<updated>2025-07-02T17:29:01+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-07-02T17:29:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=50f40a5327ad9f8a4a57bb2bf7679f489f86b726'/>
<id>50f40a5327ad9f8a4a57bb2bf7679f489f86b726</id>
<content type='text'>
Summary:
The allocator interface is supposed to have 16 byte alignment (to keep
it consistent with the CPU allocator. We could probably drop this to 8
if desires.) But this was not enforced because the number of bytes used
for the bitfield sometimes resulted in alignment of 8 instead of 16.
Explicitly align the number of bytes to be a multiple of 16 even if
unused.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The allocator interface is supposed to have 16 byte alignment (to keep
it consistent with the CPU allocator. We could probably drop this to 8
if desires.) But this was not enforced because the number of bytes used
for the bitfield sometimes resulted in alignment of 8 instead of 16.
Explicitly align the number of bytes to be a multiple of 16 even if
unused.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Efficiently implement `aligned_alloc` for AMDGPU (#146585)</title>
<updated>2025-07-02T14:25:57+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-07-02T14:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=24828c8c45d7f258159afca251aa853a5fc59150'/>
<id>24828c8c45d7f258159afca251aa853a5fc59150</id>
<content type='text'>
Summary:
This patch uses the actual allocator interface to implement
`aligned_alloc`. We do this by simply rounding up the amount allocated.
Because of how index calculation works, any offset within an allocated
pointer will still map to the same chunk, so we can just adjust
internally and it will free all the same.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This patch uses the actual allocator interface to implement
`aligned_alloc`. We do this by simply rounding up the amount allocated.
Because of how index calculation works, any offset within an allocated
pointer will still map to the same chunk, so we can just adjust
internally and it will free all the same.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] wcscspn implementation (#146158)</title>
<updated>2025-07-01T15:56:09+00:00</updated>
<author>
<name>sribee8</name>
<email>sriya.pratipati@gmail.com</email>
</author>
<published>2025-07-01T15:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=47e28d9cd1c08690fa77d81b537594cb2e92f0f4'/>
<id>47e28d9cd1c08690fa77d81b537594cb2e92f0f4</id>
<content type='text'>
Implemented wcscspn and tests.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implemented wcscspn and tests.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] wcstok implementation (#145989)</title>
<updated>2025-06-30T17:41:00+00:00</updated>
<author>
<name>Uzair Nawaz</name>
<email>uzairnawaz@google.com</email>
</author>
<published>2025-06-30T17:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7a33b709b1e2bd3032593b259a741905dce874f8'/>
<id>7a33b709b1e2bd3032593b259a741905dce874f8</id>
<content type='text'>
Implemented wcstok and added tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implemented wcstok and added tests</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Efficiently implement 'realloc' for AMDGPU devices (#145960)</title>
<updated>2025-06-30T13:39:40+00:00</updated>
<author>
<name>Joseph Huber</name>
<email>huberjn@outlook.com</email>
</author>
<published>2025-06-30T13:39:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=10445acfa64a80800272e09f70be4799877a237f'/>
<id>10445acfa64a80800272e09f70be4799877a237f</id>
<content type='text'>
Summary:
Now that we have `malloc` we can implement `realloc` efficiently. This
uses the known chunk sizes to avoid unnecessary allocations. We just
return nullptr for NVPTX. I'd remove the list for the entrypoint but
then the libc++ code would stop working. When someone writes the NVPTX
support this will be trivial.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Now that we have `malloc` we can implement `realloc` efficiently. This
uses the known chunk sizes to avoid unnecessary allocations. We just
return nullptr for NVPTX. I'd remove the list for the entrypoint but
then the libc++ code would stop working. When someone writes the NVPTX
support this will be trivial.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Changed CharacterConverter returns (#146130)</title>
<updated>2025-06-27T21:50:09+00:00</updated>
<author>
<name>sribee8</name>
<email>sriya.pratipati@gmail.com</email>
</author>
<published>2025-06-27T21:50:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f58caed1bc509e5b0f3ab4e875afc1c85183ec55'/>
<id>f58caed1bc509e5b0f3ab4e875afc1c85183ec55</id>
<content type='text'>
changed internal CharacterConverter returns to return errno macro when
necessary for consistency.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
changed internal CharacterConverter returns to return errno macro when
necessary for consistency.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Implemented wcsnlen (#145610)</title>
<updated>2025-06-27T16:51:37+00:00</updated>
<author>
<name>sribee8</name>
<email>sriya.pratipati@gmail.com</email>
</author>
<published>2025-06-27T16:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=ac7e3910350aed59495883d4193275106047645f'/>
<id>ac7e3910350aed59495883d4193275106047645f</id>
<content type='text'>
Implemented wcsnlen and tests for the function.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implemented wcsnlen and tests for the function.

---------

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Error fixes for mbrtowc and wcrtomb (#145785)</title>
<updated>2025-06-25T21:37:41+00:00</updated>
<author>
<name>sribee8</name>
<email>sriya.pratipati@gmail.com</email>
</author>
<published>2025-06-25T21:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=bd86fc9252384f4b3174f07a615ffe371788584b'/>
<id>bd86fc9252384f4b3174f07a615ffe371788584b</id>
<content type='text'>
Invalid mbstate_t should set errno to EINVAL.
Changed Error return for the internal functions and added tests for the
public functions.

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Invalid mbstate_t should set errno to EINVAL.
Changed Error return for the internal functions and added tests for the
public functions.

Co-authored-by: Sriya Pratipati &lt;sriyap@google.com&gt;</pre>
</div>
</content>
</entry>
</feed>
