diff options
author | jeffreytan81 <jeffreytan@meta.com> | 2024-03-07 09:37:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 09:37:27 -0800 |
commit | 36f866c6ec3f6671fd4178ed4e49fd632a335cc2 (patch) | |
tree | 10c81195ba38d22289fb5066218b4e91879c1974 /lldb | |
parent | 6157538d9e4eea135fb863b972c577f648c21641 (diff) | |
download | llvm-36f866c6ec3f6671fd4178ed4e49fd632a335cc2.zip llvm-36f866c6ec3f6671fd4178ed4e49fd632a335cc2.tar.gz llvm-36f866c6ec3f6671fd4178ed4e49fd632a335cc2.tar.bz2 |
Fix vfork test strcmp buildbot failure (#84224)
The buildbot seems to complain about `strcmp` function not available in
the vfork patch (https://github.com/llvm/llvm-project/pull/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.
Co-authored-by: jeffreytan81 <jeffreytan@fb.com>
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp b/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp index 2f3a95d..d72051e 100644 --- a/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp +++ b/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp @@ -2,6 +2,7 @@ #include <cstring> #include <iostream> #include <mutex> +#include <string.h> #include <sys/wait.h> #include <thread> #include <unistd.h> |