summaryrefslogtreecommitdiff
path: root/libc/test/UnitTest/ExecuteFunctionUnix.cpp
AgeCommit message (Collapse)Author
2025-11-14[libc] fix EXPECT_EXIT suspend/timeout for darwin (#166065)Shreeyash Pandey
Fixes: https://github.com/llvm/llvm-project/issues/166059 --------- Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
2025-11-14Revert "[libc][test] split exit tests into two separate tests" (#168102)Schrodinger ZHU Yifan
Reverts llvm/llvm-project#166355
2025-11-14[libc][test] split exit tests into two separate tests (#166355)Shreeyash Pandey
_Exit(3) is a fairly simple syscall wrapper whereas exit(3) calls atexit-registered functions + whole lot of stuff that require support for sync primitives. Splitting the tests allows testing the former easily (especially for new port projects) --------- Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
2025-03-10[libc] Add `-Wno-sign-conversion` & re-attempt `-Wconversion` (#129811)Vinay Deshmukh
Relates to https://github.com/llvm/llvm-project/issues/119281#issuecomment-2699470459
2025-03-05Revert "[libc] Enable -Wconversion for tests. (#127523)"Augie Fackler
This reverts commit 1e6e845d49a336e9da7ca6c576ec45c0b419b5f6 because it changed the 1st parameter of adjust() to be unsigned, but libc itself calls adjust() with a negative argument in align_backward() in op_generic.h.
2025-03-04[libc] Enable -Wconversion for tests. (#127523)Vinay Deshmukh
Relates to: #119281
2025-01-09[libc][test] fix memory leak pt.2 (#122384)Nick Desaulniers
These were created with operator new (see `Test::createCallable`), so operator delete should be used instead of free(). Fixes: #122369 Fixes: #122378
2025-01-09[libc][test] fix memory leak (#122378)Nick Desaulniers
Looks like the smart pointer I removed was being used to free the underlying object. Fixes: #122369
2025-01-09[libc][test] remove C++ stdlib includes (#122369)Nick Desaulniers
These make cross compiling the test suite more difficult, as you need the sysroot to contain these headers and libraries cross compiled for your target. It's straightforward to stick with the corresponding C headers.
2024-07-12[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597)Petr Hosek
This is a part of #97655.
2024-07-12Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace ↵Mehdi Amini
declaration" (#98593) Reverts llvm/llvm-project#98075 bots are broken
2024-07-11[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98075)Petr Hosek
This is a part of #97655.
2023-09-26[libc] Mass replace enclosing namespace (#67032)Guillaume Chatelet
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
2023-04-18[libc][NFC] Move ExecuteFunction test util to test/UnitTest.Siva Chandra Reddy
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D148611