[all-commits] [llvm/llvm-project] 475e73: [MemProf] Include <ctime> to avoid MSVC failure (#...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Wed Oct 30 08:28:45 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 475e736bb5eeea8ec70aca51d1a3d98179c69530
https://github.com/llvm/llvm-project/commit/475e736bb5eeea8ec70aca51d1a3d98179c69530
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[MemProf] Include <ctime> to avoid MSVC failure (#114246)
My change in bb3915149a7c9b1660db9caebfc96343352e8454 added a call to
std::time which worked generally as there must be some transitive
include of <ctime>. 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 <ctime> should fix this.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list