<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/llvm.git/libc/src/threads/linux, branch EmptyLineAfterFunctionDefinition</title>
<subtitle>github.com: llvm/llvm-project.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/'/>
<entry>
<title>[libc] Add implementations of the C standard condition variable functions.</title>
<updated>2021-09-28T21:18:45+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-25T19:52:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=8379fc4a53cfd9e1a0280d60908ad4a171ad977d'/>
<id>8379fc4a53cfd9e1a0280d60908ad4a171ad977d</id>
<content type='text'>
Reviewed By: michaelrj

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

Differential Revision: https://reviews.llvm.org/D108948
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add a skeleton for C standard condition variable functions.</title>
<updated>2021-09-01T19:41:52+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-27T18:49:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=2f4f452f166bbbf0d39193f0e68d680d235e64ba'/>
<id>2f4f452f166bbbf0d39193f0e68d680d235e64ba</id>
<content type='text'>
This patch adds a skeleton as a preparatory step for the next patch which
adds the actual implementations of the condition variable functions.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108947
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a skeleton as a preparatory step for the next patch which
adds the actual implementations of the condition variable functions.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D108947
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add mtx_destroy which does nothing.</title>
<updated>2021-08-30T20:43:46+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-30T20:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=7a2a765745973ebeb041276d2d9489a000ba9371'/>
<id>7a2a765745973ebeb041276d2d9489a000ba9371</id>
<content type='text'>
There is not cleanup to be done for the mutex type so mtx_destroy does
nothing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is not cleanup to be done for the mutex type so mtx_destroy does
nothing.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Ensure the result of the clone syscall is not on stack in thrd_create.</title>
<updated>2021-08-30T04:35:40+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-30T04:31:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=3383ec5fdd04be095678e0bd8bd1ce341f4f9294'/>
<id>3383ec5fdd04be095678e0bd8bd1ce341f4f9294</id>
<content type='text'>
Also, added a call to munmap on error in thrd_create.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, added a call to munmap on error in thrd_create.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Add a check to catch mismatch in internal and public mutex types.</title>
<updated>2021-08-30T04:08:35+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-30T04:08:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=f7e572b4f4a0339162f8bc168edfd9fa523c9c1e'/>
<id>f7e572b4f4a0339162f8bc168edfd9fa523c9c1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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='http://git.baserock.org/cgit/delta/llvm.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] Add a multi-waiter mutex test.</title>
<updated>2021-08-23T05:47:30+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-08-21T04:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=8e488c3cc0da71afbe75963033e86bf32ee56c11'/>
<id>8e488c3cc0da71afbe75963033e86bf32ee56c11</id>
<content type='text'>
A corresponding adjustment to mtx_lock has also been made.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A corresponding adjustment to mtx_lock has also been made.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Normalize LIBC_TARGET_MACHINE</title>
<updated>2021-05-05T15:52:42+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2021-05-05T15:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=7c2ece523d7ff74f3eeabce1b9685f3eaae8cff4'/>
<id>7c2ece523d7ff74f3eeabce1b9685f3eaae8cff4</id>
<content type='text'>
Current implementation defines LIBC_TARGET_MACHINE with the use of CMAKE_SYSTEM_PROCESSOR.
Unfortunately CMAKE_SYSTEM_PROCESSOR is OS dependent and can produce different results.
An evidence of this is the various matchers used to detect whether the architecture is x86.

This patch normalizes LIBC_TARGET_MACHINE and renames it LIBC_TARGET_ARCHITECTURE.
I've added many architectures but we may want to limit ourselves to x86 and ARM.

Differential Revision: https://reviews.llvm.org/D101524
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current implementation defines LIBC_TARGET_MACHINE with the use of CMAKE_SYSTEM_PROCESSOR.
Unfortunately CMAKE_SYSTEM_PROCESSOR is OS dependent and can produce different results.
An evidence of this is the various matchers used to detect whether the architecture is x86.

This patch normalizes LIBC_TARGET_MACHINE and renames it LIBC_TARGET_ARCHITECTURE.
I've added many architectures but we may want to limit ourselves to x86 and ARM.

Differential Revision: https://reviews.llvm.org/D101524
</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='http://git.baserock.org/cgit/delta/llvm.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='http://git.baserock.org/cgit/delta/llvm.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>
