[Lldb-commits] [lldb] [lldb] Fix `FindDirectNestedType` not working with class templates (PR #81666)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 16 10:14:47 PST 2024


JDevlieghere wrote:

This is what the failure looks like:

```
======================================================================
FAIL: test_with_run_command_dsym (TestDataFormatterLibcxxChrono.LibcxxChronoDataFormatterTestCase)
   Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jonas/llvm/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1676, in test_method
    return attrvalue(self)
  File "/Users/jonas/llvm/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 150, in wrapper
    return func(*args, **kwargs)
  File "/Users/jonas/llvm/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/chrono/TestDataFormatterLibcxxChrono.py", line 35, in test_with_run_command
    self.expect(
  File "/Users/jonas/llvm/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2447, in expect
    self.fail(log_msg)
AssertionError: Ran command:
"frame variable ss_tp"

Got output:
(std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long long> >) ss_tp = {
  __d_ = (__rep_ = 0)
}

Expecting sub string: "ss_tp = date/time=1970-01-01T00:00:00Z timestamp=0 s" (was not found)
```

https://github.com/llvm/llvm-project/pull/81666


More information about the lldb-commits mailing list