From 3656020ab430700be2e8557f5d9921f39bcfb2e4 Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Wed, 30 Oct 2024 08:01:03 -0700 Subject: [PATCH] [MemProf] Include to avoid MSVC failure My change in bb3915149a7c9b1660db9caebfc96343352e8454 added a call to std::time which worked generally as there must be some transitive include of . However, I saw one MSVC bot failure: InstrProfWriter.cpp(202): error C2039: 'time': is not a member of 'std' from https://lab.llvm.org/buildbot/#/builders/63/builds/2325. Presumably explictly including should fix this. --- llvm/lib/ProfileData/InstrProfWriter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp index f09241681b92a..0ab9f942a0858 100644 --- a/llvm/lib/ProfileData/InstrProfWriter.cpp +++ b/llvm/lib/ProfileData/InstrProfWriter.cpp @@ -29,6 +29,7 @@ #include "llvm/Support/OnDiskHashTable.h" #include "llvm/Support/raw_ostream.h" #include +#include #include #include #include