[llvm] [ExecutionEngine] reinstate necessary include for building with `-DLLVM_USE_INTEL_JITEVENTS` (PR #117949)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 27 17:34:39 PST 2024
https://github.com/h-vetinari created https://github.com/llvm/llvm-project/pull/117949
This is a build regression from https://github.com/llvm/llvm-project/commit/1f4d91ecb8529678a3d3919d7523743bd21942ca when using `-DLLVM_USE_INTEL_JITEVENTS=ON` (already commented by @Zentrik on the commit), as `std::map` is evidently used further down in that TU
https://github.com/llvm/llvm-project/blob/c8cd497c9889b051671c7fe2eb6e4b3bbe6606f9/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp#L115
CC @kazutakahirata
>From ff0e4e82dd8edb6b8261b2a95f87657f59ba6161 Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <h.vetinari at gmx.com>
Date: Thu, 28 Nov 2024 12:30:26 +1100
Subject: [PATCH] [ExecutionEngine] reinstate necessary include
---
llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
index fb7cf94fa0654a..57ac991ee37f3d 100644
--- a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp
@@ -11,6 +11,7 @@
#include "llvm/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.h"
#include "llvm/ExecutionEngine/Orc/Shared/VTuneSharedStructs.h"
+#include <map>
#if LLVM_USE_INTEL_JITEVENTS
#include "IntelJITEventsWrapper.h"
More information about the llvm-commits
mailing list