llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Raul Tambre (tambry)

<details>
<summary>Changes</summary>

`std::ref()` is provided in `&lt;functional&gt;` and with recent libc++ changes 
it no longer seems to be included transitively. Fix by including explicitly.

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


2 Files Affected:

- (modified) lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp (+1) 
- (modified) lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp (+1) 


``````````diff
diff --git a/lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp 
b/lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
index c5f571fc1d2c4..0d2869c0c577c 100644
--- a/lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
+++ b/lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp
@@ -1,4 +1,5 @@
 #include <cstdint>
+#include <functional>
 #include <mutex>
 #include <thread>
 
diff --git a/lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp 
b/lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp
index 320f9e938e5bf..1f4e91acc4c03 100644
--- a/lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp
+++ b/lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp
@@ -1,6 +1,7 @@
 #include <cinttypes>
 #include <cstdint>
 #include <cstdio>
+#include <functional>
 #include <mutex>
 #include <thread>
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/165772
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to