diff options
author | Lily Wang <94091114+LilyWangLL@users.noreply.github.com> | 2024-12-06 01:18:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 09:18:00 +0000 |
commit | 72aefbb5d06f3b82ded6fa499c3994f5d03aba57 (patch) | |
tree | d4f569a1e193d8ba35f5f11cbd67a58198d65dbb /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 3eed8479a895253307c6d87a38bb5acf314c6505 (diff) | |
download | llvm-72aefbb5d06f3b82ded6fa499c3994f5d03aba57.zip llvm-72aefbb5d06f3b82ded6fa499c3994f5d03aba57.tar.gz llvm-72aefbb5d06f3b82ded6fa499c3994f5d03aba57.tar.bz2 |
[lldb] Include `<chrono>` for `system_clock` and `now` (#118059)
I am a member of Microsoft vcpkg, due to there are new changes merged by
microsoft/STL#5105, which revealed a conformance issue in `llvm`. It
must add include `<chrono>` to fix this error.
Compiler error with this STL change:
```
D:\b\llvm\src\org-18.1.6-e754cb1d0b.clean\lldb\tools\lldb-dap\ProgressEvent.h(79): error C2039: 'system_clock': is not a member of 'std::chrono'
D:\b\llvm\src\org-18.1.6-e754cb1d0b.clean\lldb\tools\lldb-dap\ProgressEvent.cpp(134): error C3083: 'system_clock': the symbol to the left of a '::' must be a type
D:\b\llvm\src\org-18.1.6-e754cb1d0b.clean\lldb\tools\lldb-dap\ProgressEvent.cpp(134): error C2039: 'now': is not a member of 'std::chrono'
```
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions