Skip to content

Commit ec6b619

Browse files
committed
[lldb][DNB] Add missing include
On the buildbots: ``` user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/tools/debugserver/source/DNBLog.cpp /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/tools/debugserver/source/DNBLog.cpp:66:15: error: no type named 'recursive_mutex' in namespace 'std' static std::recursive_mutex g_LogThreadedMutex; ~~~~~^ /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/tools/debugserver/source/DNBLog.cpp:67:8: error: no member named 'lock_guard' in namespace 'std' std::lock_guard<std::recursive_mutex> guard(g_LogThreadedMutex); ~~~~~^ /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/llvm-project/lldb/tools/debugserver/source/DNBLog.cpp:67:24: error: no member named 'recursive_mutex' in namespace 'std' std::lock_guard<std::recursive_mutex> guard(g_LogThreadedMutex); ~~~~~^ ```
1 parent 5f704f9 commit ec6b619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/tools/debugserver/source/DNBLog.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ static int g_verbose = 0;
2121
#include <cstdio>
2222
#include <cstdlib>
2323
#include <mach/mach.h>
24+
#include <mutex>
2425
#include <pthread.h>
2526
#include <sys/time.h>
2627
#include <unistd.h>

0 commit comments

Comments
 (0)