Skip to content
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

Fix vfork test strcmp buildbot failure #84224

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

jeffreytan81
Copy link
Contributor

The buildbot seems to complain about strcmp function not available in the vfork patch (#81564):
https://lab.llvm.org/buildbot/#/builders/68/builds/70093/steps/6/logs/stdio

Unfortunately, I can't reproduce the failure on my linux machine so this is a guessing fix. If anyone has a way to reproduce and very this fix, please feel free to merge this change.

@jeffreytan81 jeffreytan81 marked this pull request as ready for review March 7, 2024 17:36
@llvmbot llvmbot added the lldb label Mar 7, 2024
@jeffreytan81
Copy link
Contributor Author

I guess it is no harm to land it.

@jeffreytan81 jeffreytan81 merged commit 36f866c into llvm:main Mar 7, 2024
8 checks passed
@llvmbot
Copy link
Collaborator

llvmbot commented Mar 7, 2024

@llvm/pr-subscribers-lldb

Author: None (jeffreytan81)

Changes

The buildbot seems to complain about strcmp function not available in the vfork patch (#81564):
https://lab.llvm.org/buildbot/#/builders/68/builds/70093/steps/6/logs/stdio

Unfortunately, I can't reproduce the failure on my linux machine so this is a guessing fix. If anyone has a way to reproduce and very this fix, please feel free to merge this change.


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

1 Files Affected:

  • (modified) lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp (+1)
diff --git a/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp b/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp
index b0a4446ba01581..40cb63755ee8a5 100644
--- a/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp
+++ b/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp
@@ -1,6 +1,7 @@
 #include <assert.h>
 #include <iostream>
 #include <mutex>
+#include <string.h>
 #include <sys/wait.h>
 #include <thread>
 #include <unistd.h>

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.

None yet

3 participants