#
5ff3ff33 |
| 12-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)
This is a part of #97655.
|
#
ce9035f5 |
| 12-Jul-2024 |
Mehdi Amini <joker.eph@gmail.com> |
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075
bots are broken
|
#
3f30effe |
| 11-Jul-2024 |
Petr Hosek <phosek@google.com> |
[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)
This is a part of #97655.
|
#
ffed34e0 |
| 17-Jun-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Fix getauxval being defined in a namespace
|
#
44ca6566 |
| 17-Jun-2024 |
Joseph Huber <huberjn@outlook.com> |
[libc] Only include getauxval on AARCH64 targets (#95844)
Summary: Not all platforms support this function or header, but it was being included by every test. Move it inside of the `ifdef` for the o
[libc] Only include getauxval on AARCH64 targets (#95844)
Summary: Not all platforms support this function or header, but it was being included by every test. Move it inside of the `ifdef` for the only user, which is aarch64.
show more ...
|
Revision tags: llvmorg-18.1.8 |
|
#
2efe3d7f |
| 14-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)
Reverts llvm/llvm-project#95419 and Reland #95358.
This PR is full of temporal fixes. After a discussion with @lntue, it is
better
Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)
Reverts llvm/llvm-project#95419 and Reland #95358.
This PR is full of temporal fixes. After a discussion with @lntue, it is
better to avoid further changes to the cmake infrastructure for now as a
rework to the cmake utilities will be landed in the future.
show more ...
|
#
9e5428e6 |
| 13-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)
|
#
ca05204f |
| 13-Jun-2024 |
Schrodinger ZHU Yifan <yifanzhu@rochester.edu> |
[libc] fix aarch64 linux full build (#95358)
|
Revision tags: llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2 |
|
#
b6bc9d72 |
| 26-Sep-2023 |
Guillaume Chatelet <gchatelet@google.com> |
[libc] Mass replace enclosing namespace (#67032)
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
|
Revision tags: llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3 |
|
#
9417d9fc |
| 24-Apr-2023 |
Joseph Huber <jhuber6@vols.utk.edu> |
[libc] Make the bump pointer explicitly return null on buffer oveerrun
We use a simple bump ptr in the `libc` tests. If we run out of data we can currently return other static memory and have weird
[libc] Make the bump pointer explicitly return null on buffer oveerrun
We use a simple bump ptr in the `libc` tests. If we run out of data we can currently return other static memory and have weird failure cases. We should fail more explicitly here by returning a null pointer instead.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D150529
show more ...
|
#
2e1c0ec6 |
| 28-Apr-2023 |
Joseph Huber <jhuber6@vols.utk.edu> |
[libc] Support global constructors and destructors on NVPTX
This patch adds the necessary hacks to support global constructors and destructors. This is an incredibly hacky process caused by the prim
[libc] Support global constructors and destructors on NVPTX
This patch adds the necessary hacks to support global constructors and destructors. This is an incredibly hacky process caused by the primary fact that Nvidia does not provide any binary tools and very little linker support. We first had to emit references to these functions and their priority in D149451. Then we dig them out of the module once it's loaded to manually create the list that the linker should have made for us. This patch also contains a few Nvidia specific hacks, but it passes the test, albeit with a stack size warning from `ptxas` for the callback. But this should be fine given the resource usage of a common test.
This also adds a dependency on LLVM to the NVPTX loader, which hopefully doesn't cause problems with our CUDA buildbot.
Depends on D149451
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D149527
show more ...
|
Revision tags: llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0 |
|
#
38d7f855 |
| 16-Mar-2023 |
Joseph Huber <jhuber6@vols.utk.edu> |
[libc] Add missing return statements to wrapper functions
Summary: I forgot to add return statements to these memory comparison functions. This should hopefully resolve some BB errors.
|
#
929ad8bc |
| 15-Mar-2023 |
Joseph Huber <jhuber6@vols.utk.edu> |
[libc] Add aliases to C memory functions for integration tests
The integration tests require the C memory functions as the compiler may emit calls to them directly. The tests normally use the `__int
[libc] Add aliases to C memory functions for integration tests
The integration tests require the C memory functions as the compiler may emit calls to them directly. The tests normally use the `__internal__` variant that is built for testing, but these memory functions were linked directly to preserve the entrypoint. Instead, we forward delcare the internal versions and map the entrypoints to them manually inside the integration test. This allows us to use the internal versions of these files like the rest of the test objects.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D146177
show more ...
|
#
5b1ad43c |
| 12-Mar-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc] Declare __dso_handle in the integration test instead of startup.
Fixes #61355. The __dso_handle decl was introduced incorrectly into the startup objects during the integration test cleanup wh
[libc] Declare __dso_handle in the integration test instead of startup.
Fixes #61355. The __dso_handle decl was introduced incorrectly into the startup objects during the integration test cleanup which moved the integration tests away from using an artificial sysroot to using -nostdlib. Having it in the startup creates the duplicate symbol error when one does not use -nostdlib. Since this is an integration test only problem, it is meaningful to keep it in the integration test anyway.
Differential Revision: https://reviews.llvm.org/D145898
show more ...
|
Revision tags: llvmorg-16.0.0-rc4 |
|
#
43de233e |
| 05-Mar-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc][NFC] Remove allocator definition in the api-test.
The integration tests already have allocators so we will get all of them from there.
|
Revision tags: llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2 |
|
#
af1315c2 |
| 06-Feb-2023 |
Siva Chandra Reddy <sivachandra@google.com> |
[libc][NFC] Move UnitTest and IntegrationTest to the 'test' directory.
This part of the effort to make all test related pieces into the `test` directory. This helps is excluding test related pieces
[libc][NFC] Move UnitTest and IntegrationTest to the 'test' directory.
This part of the effort to make all test related pieces into the `test` directory. This helps is excluding test related pieces in a straight forward manner if LLVM_INCLUDE_TESTS is OFF. Future patches will also move the MPFR wrapper and testutils into the 'test' directory.
show more ...
|