diff options
author | Teresa Johnson <tejohnson@google.com> | 2024-10-30 08:28:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-30 08:28:22 -0700 |
commit | 475e736bb5eeea8ec70aca51d1a3d98179c69530 (patch) | |
tree | 38986fca74c9a0f4c7e3800e4086c94f7c41c8c4 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 7d1e283bd3b4440aea9ac375ca51e2ee6b0e86f5 (diff) | |
download | llvm-475e736bb5eeea8ec70aca51d1a3d98179c69530.zip llvm-475e736bb5eeea8ec70aca51d1a3d98179c69530.tar.gz llvm-475e736bb5eeea8ec70aca51d1a3d98179c69530.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions