[Lldb-commits] [lldb] 36f866c - Fix vfork test strcmp buildbot failure (#84224)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 7 09:37:31 PST 2024


Author: jeffreytan81
Date: 2024-03-07T09:37:27-08:00
New Revision: 36f866c6ec3f6671fd4178ed4e49fd632a335cc2

URL: https://github.com/llvm/llvm-project/commit/36f866c6ec3f6671fd4178ed4e49fd632a335cc2
DIFF: https://github.com/llvm/llvm-project/commit/36f866c6ec3f6671fd4178ed4e49fd632a335cc2.diff

LOG: 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 at fb.com>

Added: 
    

Modified: 
    lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp b/lldb/test/API/functionalities/fork/concurrent_vfork/main.cpp
index 2f3a95dc5c6eef..d72051e4ee84d9 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>


        


More information about the lldb-commits mailing list