Skip to content

[libc] Add the src/stdlib/_Exit.h header to at_quick_exit_test.cpp and atexit_test.cpp #115351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from Nov 7, 2024

Conversation

ghost
Copy link

@ghost ghost commented Nov 7, 2024

Hello, I merged this #114904 a few mins ago and the tests failed because i did not add the header src/stdlib/_Exit.h in at_quick_exit_test.cpp and atexit_test.cpp.

I ran both builds/tests and everything was good. thanks

@llvmbot llvmbot added the libc label Nov 7, 2024
@llvmbot
Copy link
Member

llvmbot commented Nov 7, 2024

@llvm/pr-subscribers-libc

Author: Job Henandez Lara (Jobhdez)

Changes

Hello, I merged this #114904 a few mins ago and the tests failed because i did not add the header src/stdlib/_Exit.h in at_quick_exit_test.cpp and atexit_test.cpp.

I ran both builds/tests and everything was good. thanks


Full diff: https://github.com/llvm/llvm-project/pull/115351.diff

2 Files Affected:

  • (modified) libc/test/src/stdlib/at_quick_exit_test.cpp (+1)
  • (modified) libc/test/src/stdlib/atexit_test.cpp (+1)
diff --git a/libc/test/src/stdlib/at_quick_exit_test.cpp b/libc/test/src/stdlib/at_quick_exit_test.cpp
index 1ed5a83a61b8d0..c0aac4d20d92cc 100644
--- a/libc/test/src/stdlib/at_quick_exit_test.cpp
+++ b/libc/test/src/stdlib/at_quick_exit_test.cpp
@@ -8,6 +8,7 @@
 
 #include "src/__support/CPP/array.h"
 #include "src/__support/CPP/utility.h"
+#include "src/stdlib/_Exit.h"
 #include "src/stdlib/at_quick_exit.h"
 #include "src/stdlib/quick_exit.h"
 #include "test/UnitTest/Test.h"
diff --git a/libc/test/src/stdlib/atexit_test.cpp b/libc/test/src/stdlib/atexit_test.cpp
index 24f8b0451f3636..c25202ff54f696 100644
--- a/libc/test/src/stdlib/atexit_test.cpp
+++ b/libc/test/src/stdlib/atexit_test.cpp
@@ -8,6 +8,7 @@
 
 #include "src/__support/CPP/array.h"
 #include "src/__support/CPP/utility.h"
+#include "src/stdlib/_Exit.h"
 #include "src/stdlib/atexit.h"
 #include "src/stdlib/exit.h"
 #include "test/UnitTest/Test.h"

@ghost ghost requested a review from michaelrj-google November 7, 2024 17:50
@michaelrj-google michaelrj-google merged commit 4ac891c into llvm:main Nov 7, 2024
9 checks passed
Groverkss pushed a commit to iree-org/llvm-project that referenced this pull request Nov 15, 2024
…` and `atexit_test.cpp` (llvm#115351)

Hello, I merged this llvm#114904 a
few mins ago and the tests failed because i did not add the header
`src/stdlib/_Exit.h` in `at_quick_exit_test.cpp` and `atexit_test.cpp`.

I ran both builds/tests and everything was good. thanks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants