<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/llvm.git/libc/utils/UnitTest, 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][NFC] Move test related pieces from FPUtil to util/UnitTest.</title>
<updated>2021-10-29T15:37:30+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-10-27T21:07:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=6c3f53c7ba3c84a517339f735c8dbe0fd737168f'/>
<id>6c3f53c7ba3c84a517339f735c8dbe0fd737168f</id>
<content type='text'>
Reviewed By: michaelrj

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

Differential Revision: https://reviews.llvm.org/D112673
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Move utils/CPP to src/__support/CPP.</title>
<updated>2021-10-28T15:50:00+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-10-27T18:49:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=f362aea42d29da2c8620c6eb8902f31d01613edc'/>
<id>f362aea42d29da2c8620c6eb8902f31d01613edc</id>
<content type='text'>
The idea is to move all pieces related to the actual libc sources to the
"src" directory. This allows downstream users to ship and build just the
"src" directory.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D112653
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idea is to move all pieces related to the actual libc sources to the
"src" directory. This allows downstream users to ship and build just the
"src" directory.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D112653
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add support for 128 bit ints in limits.h</title>
<updated>2021-09-28T23:50:16+00:00</updated>
<author>
<name>Michael Jones</name>
<email>michaelrj@google.com</email>
</author>
<published>2021-09-28T18:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=b62d72f3c542729349633c5f77697fe24921251d'/>
<id>b62d72f3c542729349633c5f77697fe24921251d</id>
<content type='text'>
Also, this adds unit tests to check that limits.h complies with the C
standard.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D110643
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, this adds unit tests to check that limits.h complies with the C
standard.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D110643
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] fix LibcUnitTestMain when building with shared libraries</title>
<updated>2021-07-26T08:43:45+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2021-07-26T08:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=47afd43eaa9b6f713402aeca8c95f31d13ca5f3c'/>
<id>47afd43eaa9b6f713402aeca8c95f31d13ca5f3c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Clean up Windows macros</title>
<updated>2021-07-23T21:12:36+00:00</updated>
<author>
<name>Caitlyn Cano</name>
<email>caitlyncano@google.com</email>
</author>
<published>2021-07-23T20:39:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=5d679fc502c78eba4758d034cdffc44bc6d48efb'/>
<id>5d679fc502c78eba4758d034cdffc44bc6d48efb</id>
<content type='text'>
This clean-up removes checks for _WIN64, as the _WIN32 macro returns 1
whenever the compilation targe is 32- or 64-bit ARM.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D106706
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This clean-up removes checks for _WIN64, as the _WIN32 macro returns 1
whenever the compilation targe is 32- or 64-bit ARM.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D106706
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add option to run specific tests</title>
<updated>2021-07-23T16:08:13+00:00</updated>
<author>
<name>Caitlyn Cano</name>
<email>caitlyncano@google.com</email>
</author>
<published>2021-07-12T20:32:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=fa7a9ef1784eca70bc6653bcda6e9a02e0f900bb'/>
<id>fa7a9ef1784eca70bc6653bcda6e9a02e0f900bb</id>
<content type='text'>
This addition reads command line input to run specific single tests
within a larger call to run all the tests for a particular function.
When the user adds a second argument to the command line, the code skips
all the tests that don't match the user's specified binary. If the user
doesn't specify a test correctly and/or no tests are run, a failure
message prints.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D105843
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This addition reads command line input to run specific single tests
within a larger call to run all the tests for a particular function.
When the user adds a second argument to the command line, the code skips
all the tests that don't match the user's specified binary. If the user
doesn't specify a test correctly and/or no tests are run, a failure
message prints.

Reviewed By: sivachandra, aeubanks

Differential Revision: https://reviews.llvm.org/D105843
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Relocate the closing directive of #ifdef</title>
<updated>2021-07-15T20:24:29+00:00</updated>
<author>
<name>Hedin Garca</name>
<email>hedingarcia@google.com</email>
</author>
<published>2021-07-15T18:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=c97cb11efdfacff6231ee058b413df252a8be0d9'/>
<id>c97cb11efdfacff6231ee058b413df252a8be0d9</id>
<content type='text'>
Changed where an #endif was placed because previously it
prevented three macro definitions from being enable in Windows.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106087
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changed where an #endif was placed because previously it
prevented three macro definitions from being enable in Windows.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D106087
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Add a macro to include/exclude subprocess tests.</title>
<updated>2021-06-08T23:30:21+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-06-08T23:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=6344a583ca8d1650def86d8effd1ad8a3a9598b1'/>
<id>6344a583ca8d1650def86d8effd1ad8a3a9598b1</id>
<content type='text'>
This is useful when bringing up LLVM libc on a new OS on which we do not
yet have the subprocess related helper functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful when bringing up LLVM libc on a new OS on which we do not
yet have the subprocess related helper functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc][NFC] Use add_library instead of add_llvm_library for a few libraries.</title>
<updated>2021-06-08T23:15:24+00:00</updated>
<author>
<name>Siva Chandra Reddy</name>
<email>sivachandra@google.com</email>
</author>
<published>2021-06-08T23:04:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=f4c8fd12d58ed93c447081fd8f499fb503da12ff'/>
<id>f4c8fd12d58ed93c447081fd8f499fb503da12ff</id>
<content type='text'>
These libraries do not depend on LLVM libraries anymore so they do not
have to be added using add_llvm_library.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These libraries do not depend on LLVM libraries anymore so they do not
have to be added using add_llvm_library.
</pre>
</div>
</content>
</entry>
<entry>
<title>[libc] Extends the testing framework to support typed test</title>
<updated>2021-04-16T21:21:35+00:00</updated>
<author>
<name>Guillaume Chatelet</name>
<email>gchatelet@google.com</email>
</author>
<published>2021-04-16T09:18:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/llvm.git/commit/?id=7c02dc22e487637abe752939c0e82d36be9921df'/>
<id>7c02dc22e487637abe752939c0e82d36be9921df</id>
<content type='text'>
This patch provides `TYPED_TEST` and `TYPED_TEST_F` (similar in functionnality to gtest).
This is needed to extensively test building blocks for memory functions.

Example for `TYPED_TEST_F`:
```
template &lt;typename T&gt; class LlvmLibcMyTestFixture : public testing::Test {};

using Types = testing::TypeList&lt;char, int, long&gt;;

TYPED_TEST_F(LlvmLibcMyTestFixture, Simple, Types) {
  EXPECT_LE(sizeof(ParamType), 8UL);
}
```

Example for `TYPED_TEST`:
```
using Types = testing::TypeList&lt;char, int, long&gt;;

TYPED_TEST(LlvmLibcMyTest, Simple, Types) {
  EXPECT_LE(sizeof(ParamType), 8UL);
}
```

`ParamType` is displayed as fully qualified canonical type which can be difficult to read, the user can provide a more readable name by using the `REGISTER_TYPE_NAME` macro.

Differential Revision: https://reviews.llvm.org/D100631
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch provides `TYPED_TEST` and `TYPED_TEST_F` (similar in functionnality to gtest).
This is needed to extensively test building blocks for memory functions.

Example for `TYPED_TEST_F`:
```
template &lt;typename T&gt; class LlvmLibcMyTestFixture : public testing::Test {};

using Types = testing::TypeList&lt;char, int, long&gt;;

TYPED_TEST_F(LlvmLibcMyTestFixture, Simple, Types) {
  EXPECT_LE(sizeof(ParamType), 8UL);
}
```

Example for `TYPED_TEST`:
```
using Types = testing::TypeList&lt;char, int, long&gt;;

TYPED_TEST(LlvmLibcMyTest, Simple, Types) {
  EXPECT_LE(sizeof(ParamType), 8UL);
}
```

`ParamType` is displayed as fully qualified canonical type which can be difficult to read, the user can provide a more readable name by using the `REGISTER_TYPE_NAME` macro.

Differential Revision: https://reviews.llvm.org/D100631
</pre>
</div>
</content>
</entry>
</feed>
