<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/test/src/stdio, branch main</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] Fix -Wshorten-64-to-32 in fileop_test. (#168451)</title>
<updated>2025-11-19T05:41:55+00:00</updated>
<author>
<name>Alexey Samsonov</name>
<email>vonosmas@gmail.com</email>
</author>
<published>2025-11-19T05:41:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5bba4fd75dd513423ff8bb905f89b60558099578'/>
<id>5bba4fd75dd513423ff8bb905f89b60558099578</id>
<content type='text'>
Explicitly cast 0 to size_t type to match fread() return type. This
follows the pattern used elsewhere in this file, and fixes
-Wshorten-64-to-32 warnings when building the test.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Explicitly cast 0 to size_t type to match fread() return type. This
follows the pattern used elsewhere in this file, and fixes
-Wshorten-64-to-32 warnings when building the test.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add printf error handling (with fixes #2) (#166517)</title>
<updated>2025-11-05T21:09:53+00:00</updated>
<author>
<name>Marcell Leleszi</name>
<email>59964679+mleleszi@users.noreply.github.com</email>
</author>
<published>2025-11-05T21:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=9e2f73fe9052a4fbf382a06e30b2441c6d99fb7e'/>
<id>9e2f73fe9052a4fbf382a06e30b2441c6d99fb7e</id>
<content type='text'>
https://github.com/llvm/llvm-project/issues/159474

Another try of trying to land
https://github.com/llvm/llvm-project/pull/166382
- Fix some leftover tests checking for specific  errnos
- Guard errno checking tests to not run on the GPU

@michaelrj-google</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/llvm/llvm-project/issues/159474

Another try of trying to land
https://github.com/llvm/llvm-project/pull/166382
- Fix some leftover tests checking for specific  errnos
- Guard errno checking tests to not run on the GPU

@michaelrj-google</pre>
</div>
</content>
</entry>
<entry>
<title>Revert commit d8e5698 and 15b19c7 (#166498)</title>
<updated>2025-11-05T03:43:16+00:00</updated>
<author>
<name>Kewen Meng</name>
<email>Kewen.Meng@amd.com</email>
</author>
<published>2025-11-05T03:43:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c5aaee0bb07b221e5d3314bbdcf1abc4a604d6bd'/>
<id>c5aaee0bb07b221e5d3314bbdcf1abc4a604d6bd</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 fprintf_test assuming specific errnos. (#166479)</title>
<updated>2025-11-05T00:56:00+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-11-05T00:56:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=15b19c732172d2d3cfbc108a268cbba03eed734f'/>
<id>15b19c732172d2d3cfbc108a268cbba03eed734f</id>
<content type='text'>
The patch #166382 fixed most of these, but missed the fprintf_test ones.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The patch #166382 fixed most of these, but missed the fprintf_test ones.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix printf long double bugs (#166474)</title>
<updated>2025-11-05T00:42:11+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2025-11-05T00:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=4209e41c4c1ba7c9595360c4c0ab3e85d13000f2'/>
<id>4209e41c4c1ba7c9595360c4c0ab3e85d13000f2</id>
<content type='text'>
Found in testing against abseil. Two bugs were found:

1) SHIFT_AMOUNT in float_converter&lt;long double&gt; would sometimes be
   negative causing an underflow when passed as the amount to left shift
   by for BigInt.
2) is_lowest_block had an off-by-one because it was adding 1 to the
   block index.

Both are fixed and there are new tests to catch regressions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Found in testing against abseil. Two bugs were found:

1) SHIFT_AMOUNT in float_converter&lt;long double&gt; would sometimes be
   negative causing an underflow when passed as the amount to left shift
   by for BigInt.
2) is_lowest_block had an off-by-one because it was adding 1 to the
   block index.

Both are fixed and there are new tests to catch regressions.</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add printf error handling (with fixes) (#166382)</title>
<updated>2025-11-05T00:20:51+00:00</updated>
<author>
<name>Marcell Leleszi</name>
<email>59964679+mleleszi@users.noreply.github.com</email>
</author>
<published>2025-11-05T00:20:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=d8e56988f87ecdfa0b9bfdb269f6d904840cc6dd'/>
<id>d8e56988f87ecdfa0b9bfdb269f6d904840cc6dd</id>
<content type='text'>
https://github.com/llvm/llvm-project/issues/159474

Resubmitting https://github.com/llvm/llvm-project/pull/162876 with fixes
as it broke some buildbots:
 - Fix comparisons of integer expressions of different signedness
- Not check for specific errnos in tests, as they might not be available
on all platforms</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/llvm/llvm-project/issues/159474

Resubmitting https://github.com/llvm/llvm-project/pull/162876 with fixes
as it broke some buildbots:
 - Fix comparisons of integer expressions of different signedness
- Not check for specific errnos in tests, as they might not be available
on all platforms</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[libc] Add printf error handling" (#166232)</title>
<updated>2025-11-03T20:50:11+00:00</updated>
<author>
<name>Kewen Meng</name>
<email>Kewen.Meng@amd.com</email>
</author>
<published>2025-11-03T20:50:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=346da3dfd3e70ca82a7df968c79666ff0b8c77c5'/>
<id>346da3dfd3e70ca82a7df968c79666ff0b8c77c5</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 printf error handling (#162876)</title>
<updated>2025-11-03T19:15:14+00:00</updated>
<author>
<name>Marcell Leleszi</name>
<email>59964679+mleleszi@users.noreply.github.com</email>
</author>
<published>2025-11-03T19:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=0c707c9713f0657f7208b8f9a95a13af749d95c5'/>
<id>0c707c9713f0657f7208b8f9a95a13af749d95c5</id>
<content type='text'>
[#159474](https://github.com/llvm/llvm-project/issues/159474)

- All printf variants set errno and consistently return -1 on error,
instead of returning various predefined error codes
- Return value overflow handling is added</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[#159474](https://github.com/llvm/llvm-project/issues/159474)

- All printf variants set errno and consistently return -1 on error,
instead of returning various predefined error codes
- Return value overflow handling is added</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[libc] Add -Werror for libc tests" (#164684)</title>
<updated>2025-10-22T19:05:10+00:00</updated>
<author>
<name>lntue</name>
<email>lntue@google.com</email>
</author>
<published>2025-10-22T19:05:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c597a4f476655cfa5ab2983964e10eb289554547'/>
<id>c597a4f476655cfa5ab2983964e10eb289554547</id>
<content type='text'>
Reverts llvm/llvm-project#160413</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#160413</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add -Werror for libc tests (#160413)</title>
<updated>2025-10-22T18:32:21+00:00</updated>
<author>
<name>Vinay Deshmukh</name>
<email>vinay_deshmukh@outlook.com</email>
</author>
<published>2025-10-22T18:32:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=5d6c00cd0f8f644106b976d65de56f9f4ffa1587'/>
<id>5d6c00cd0f8f644106b976d65de56f9f4ffa1587</id>
<content type='text'>
Relates to https://github.com/llvm/llvm-project/issues/119281

Note:

1) As this PR enables `-Werror` for `libc` tests, it's very likely some
downstream CI's may fail / start failing, so it's very likely this PR
may need to be reverted and re-applied.

P.S.

I do not have merge permissions, so I will need one of the reviews to
merge it for me. Thank you!</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Relates to https://github.com/llvm/llvm-project/issues/119281

Note:

1) As this PR enables `-Werror` for `libc` tests, it's very likely some
downstream CI's may fail / start failing, so it's very likely this PR
may need to be reverted and re-applied.

P.S.

I do not have merge permissions, so I will need one of the reviews to
merge it for me. Thank you!</pre>
</div>
</content>
</entry>
</feed>
