<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/libc/src/threads/linux/call_once.cpp, 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] remove redundant call_once (#79226)</title>
<updated>2024-01-23T23:38:12+00:00</updated>
<author>
<name>Nick Desaulniers</name>
<email>nickdesaulniers@users.noreply.github.com</email>
</author>
<published>2024-01-23T23:38:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=6a3ace20c80191159009668fff82fc3feeeca0a6'/>
<id>6a3ace20c80191159009668fff82fc3feeeca0a6</id>
<content type='text'>
Missed cleanup from https://reviews.llvm.org/D134716.

Fixes: #79220</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Missed cleanup from https://reviews.llvm.org/D134716.

Fixes: #79220</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Mass replace enclosing namespace (#67032)</title>
<updated>2023-09-26T09:45:04+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2023-09-26T09:45:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b6bc9d72f65a5086f310f321e969d96e9a559e75'/>
<id>b6bc9d72f65a5086f310f321e969d96e9a559e75</id>
<content type='text'>
This is step 4 of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is step 4 of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Fix the remaining old style includes</title>
<updated>2023-08-29T05:35:05+00:00</updated>
<author>
<name>Petr Hosek</name>
<email>phosek@google.com</email>
</author>
<published>2023-08-29T05:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f6259d9b9a546dbfa5bc2f29313c6edd6c701177'/>
<id>f6259d9b9a546dbfa5bc2f29313c6edd6c701177</id>
<content type='text'>
These were omitted from previous cleanup changes.

Differential Revision: https://reviews.llvm.org/D159066
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These were omitted from previous cleanup changes.

Differential Revision: https://reviews.llvm.org/D159066
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add support to compile some syscalls on 32 bit platform</title>
<updated>2023-08-03T13:08:01+00:00</updated>
<author>
<name>Mikhail R. Gadelha</name>
<email>mikhail@igalia.com</email>
</author>
<published>2023-08-03T12:30:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=c9783d2bda95ec6921b3ca2df930b17af3a6c7b1'/>
<id>c9783d2bda95ec6921b3ca2df930b17af3a6c7b1</id>
<content type='text'>
This patch adds a bunch of ifdefs to handle the 32 bit versions of
some syscalls, which often only append a 64 to the name of the syscall
(with exception of SYS_lseek -&gt; SYS_llseek and SYS_futex -&gt;
SYS_futex_time64)

This patch also tries to handle cases where wait4 is not available
(as in riscv32): to implement wait, wait4 and waitpid when wait4 is
not available, we check for alternative wait calls and ultimately rely
on waitid to implement them all.

In riscv32, only waitid is available, so we need it to support this
platform.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D148371
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a bunch of ifdefs to handle the 32 bit versions of
some syscalls, which often only append a 64 to the name of the syscall
(with exception of SYS_lseek -&gt; SYS_llseek and SYS_futex -&gt;
SYS_futex_time64)

This patch also tries to handle cases where wait4 is not available
(as in riscv32): to implement wait, wait4 and waitpid when wait4 is
not available, we check for alternative wait calls and ultimately rely
on waitid to implement them all.

In riscv32, only waitid is available, so we need it to support this
platform.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D148371
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] add syscall function</title>
<updated>2022-09-30T22:46:28+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2022-09-22T21:39:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1801c356f61f0caef367138e889ad60b116b5760'/>
<id>1801c356f61f0caef367138e889ad60b116b5760</id>
<content type='text'>
Add the syscall wrapper function and tests. It's implemented using a
macro to guarantee the minimum number of arguments.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D134919
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the syscall wrapper function and tests. It's implemented using a
macro to guarantee the minimum number of arguments.

Reviewed By: sivachandra, lntue

Differential Revision: https://reviews.llvm.org/D134919
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Remove the remaining uses of stdatomic.h.</title>
<updated>2022-03-01T17:12:39+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2022-03-01T08:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=75747c73946546fb9f9163b9a813b54f96874948'/>
<id>75747c73946546fb9f9163b9a813b54f96874948</id>
<content type='text'>
New methods to the Atomic class have been added as required. Futex
related types have been consolidated at a common place.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120705
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New methods to the Atomic class have been added as required. Futex
related types have been consolidated at a common place.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D120705
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Move the x86_64 syscall functions to OSUtil.</title>
<updated>2021-12-22T21:48:57+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-12-22T18:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3cc2161c897ca6c9f1ff09fbc610a6ae40b3b566'/>
<id>3cc2161c897ca6c9f1ff09fbc610a6ae40b3b566</id>
<content type='text'>
Reviewed By: michaelrj, lntue

Differential Revision: https://reviews.llvm.org/D116177
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed By: michaelrj, lntue

Differential Revision: https://reviews.llvm.org/D116177
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Move the mutex implementation into a utility class.</title>
<updated>2021-08-26T18:49:20+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-26T05:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=004c7b1da6cfea1d1f09535607a8c7c2f051e8d5'/>
<id>004c7b1da6cfea1d1f09535607a8c7c2f051e8d5</id>
<content type='text'>
This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.

Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108749
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows others parts of the libc to use the mutex types without
actually pulling in public function implementations.

Along the way, few cleanups have been done, like using a uniform type to
refer the linux futex word.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108749
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] add includes for internal headers to all libc functions</title>
<updated>2021-01-09T00:39:18+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2021-01-09T00:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b02ca0969ea3f8147ae74d08e131f1bfe4f203d2'/>
<id>b02ca0969ea3f8147ae74d08e131f1bfe4f203d2</id>
<content type='text'>
this will make sure that all of the functions are using the correct
prototypes. Explained much better in the comments of this diff:
https://reviews.llvm.org/D94195
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this will make sure that all of the functions are using the correct
prototypes. Explained much better in the comments of this diff:
https://reviews.llvm.org/D94195
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Switch to use a macro which does not insert a section for every libc function.</title>
<updated>2021-01-08T23:52:35+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2020-12-23T18:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=a0b65a7bcd6065688189b3d678c42ed6af9603db'/>
<id>a0b65a7bcd6065688189b3d678c42ed6af9603db</id>
<content type='text'>
Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The new macro also inserts the C alias for the C++ implementations
without needing an objcopy based post processing step. The CMake
rules have been updated to reflect this. More CMake cleanup can be
taken up in future rounds and appropriate TODOs have been added for them.

Reviewers: mcgrathr, sivachandra

Subscribers:
</pre>
</div>
</content>
</entry>
</feed>
