[llvm] [MemProf] Add missing <unordered_map> include to fix buildbot (PR #77788)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 07:48:23 PST 2024


https://github.com/teresajohnson created https://github.com/llvm/llvm-project/pull/77788

Should fix buildbot failure https://lab.llvm.org/buildbot/#/builders/54/builds/8451
from #75823.


>From f0afd2cf746a5cb386d9b3497d569bd3fe3b1af1 Mon Sep 17 00:00:00 2001
From: Teresa Johnson <tejohnson at google.com>
Date: Thu, 11 Jan 2024 07:46:03 -0800
Subject: [PATCH] [MemProf] Add missing <unordered_map> include to fix buildbot

Should fix buildbot failure https://lab.llvm.org/buildbot/#/builders/54/builds/8451
from #75823.
---
 llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp b/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
index 0a6f69bc73d520..3e7ceb994d4499 100644
--- a/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+++ b/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
@@ -45,6 +45,7 @@
 #include "llvm/Transforms/IPO.h"
 #include "llvm/Transforms/Utils/Cloning.h"
 #include <sstream>
+#include <unordered_map>
 #include <vector>
 using namespace llvm;
 using namespace llvm::memprof;



More information about the llvm-commits mailing list