diff options
author | Jason Molenda <jmolenda@apple.com> | 2024-02-08 09:16:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-08 09:16:12 -0800 |
commit | f219cda7bd43696792ca4668ca5a9fbf55a9f09f (patch) | |
tree | 3643f7e912e931f9d72255db33ec2210f16c87af /clang/lib/Frontend/ModuleDependencyCollector.cpp | |
parent | bdde5f9bea75e897bcc31a95b9c3376988c211cc (diff) | |
download | llvm-f219cda7bd43696792ca4668ca5a9fbf55a9f09f.zip llvm-f219cda7bd43696792ca4668ca5a9fbf55a9f09f.tar.gz llvm-f219cda7bd43696792ca4668ca5a9fbf55a9f09f.tar.bz2 |
[lldb] Fix printf formatting of std::time_t seconds (#81078)
This formatter
https://github.com/llvm/llvm-project/pull/78609
was originally passing the signed seconds (which can refer to times in
the past) with an unsigned printf formatter, and had tests that expected
to see negative values from the printf which always failed on macOS. I'm
not clear how they ever passed on any platform.
Fix the printf to print seconds as a signed value, and re-enable the
tests.
Diffstat (limited to 'clang/lib/Frontend/ModuleDependencyCollector.cpp')
0 files changed, 0 insertions, 0 deletions