https://github.com/tambry created https://github.com/llvm/llvm-project/pull/165772
`std::ref()` is provided in `<functional>` and with recent libc++ changes it no longer seems to be included transitively. Fix by including explicitly. >From 49ddc1c67f2c56a52151d9ad915ba93575088938 Mon Sep 17 00:00:00 2001 From: Raul Tambre <[email protected]> Date: Thu, 30 Oct 2025 21:17:11 +0200 Subject: [PATCH] [NFCI][lldb][test] Add missing <functional> includes `std::ref()` is provided in `<functional>` and with recent libc++ changes it no longer seems to be included transitively. Fix by including explicitly. --- lldb/test/Shell/Register/Inputs/x86-multithread-read.cpp | 1 + lldb/test/Shell/Register/Inputs/x86-multithread-write.cpp | 1 + 2 files changed, 2 insertions(+) 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> _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
