https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/106525
Backport fcb3a048 Requested by: @tamird >From 6c9ea06ea23c369eee40dc88ebe677c462fcbe19 Mon Sep 17 00:00:00 2001 From: Luke Shingles <luke.shing...@gmail.com> Date: Thu, 29 Aug 2024 11:09:07 +0100 Subject: [PATCH] [analyzer] Add missing include <unordered_map> to llvm/lib/Support/Z3Solver.cpp (#106410) Resolves #106361. Adding #include <unordered_map> to llvm/lib/Support/Z3Solver.cpp fixes compilation errors for homebrew build on macOS with Xcode 14. https://github.com/Homebrew/homebrew-core/actions/runs/10604291631/job/29390993615?pr=181351 shows that this is resolved when the include is patched in (Linux CI failure is due to unrelated timeout). (cherry picked from commit fcb3a0485857c749d04ea234a8c3d629c62ab211) --- llvm/lib/Support/Z3Solver.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Support/Z3Solver.cpp b/llvm/lib/Support/Z3Solver.cpp index 5a34ff160f6cf4..9aece099b06295 100644 --- a/llvm/lib/Support/Z3Solver.cpp +++ b/llvm/lib/Support/Z3Solver.cpp @@ -19,6 +19,7 @@ using namespace llvm; #include "llvm/ADT/Twine.h" #include <set> +#include <unordered_map> #include <z3.h> _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits