jasonmolenda wrote:

@mordante I'm seeing failures on the macOS bots (and on my desktop) with 
TestDataFormatterLibcxxChrono.py, the test

        self.expect(
            "frame variable ss_neg_date_time",
            substrs=[
                "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z 
timestamp=-1096193779200 s"
            ],
        )

but we're getting an unsigned timestamp from lldb instead:

```
(lldb) fr v ss_neg_date_time
(std::chrono::sys_seconds) ss_neg_date_time = date/time=-32767-01-01T00:00:00Z 
timestamp=18446742977515772416 s
```

so the test fails, from the `%ld` formater in 
formatters::LibcxxChronoSysSecondsSummaryProvider I suppose.  Both of these are 
formattings of the value 0xffffff00c5c25a00, I'm honestly not sure why it's 
formatted as an unsigned value on macOS for me, I'm guessing it isn't on linux 
or some platform?  

https://github.com/llvm/llvm-project/pull/78609
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to