Skip to content

lldb-api import-std-module tests failing #106475

@tstellar

Description

@tstellar
Failed Tests (3):
  lldb-api :: commands/expression/import-std-module/deque-dbg-info-content/TestDbgInfoContentDequeFromStdModule.py
  lldb-api :: commands/expression/import-std-module/list-dbg-info-content/TestDbgInfoContentListFromStdModule.py
  lldb-api :: commands/expression/import-std-module/vector-dbg-info-content/TestDbgInfoContentVectorFromStdModule.py

These tests are failing on my Fedora 37 system and also on the ubuntu-22.04 runners we use for building the release binaries. My guess is this may be caused by having an older version of libstdc++ on the system. I'm seeing these failures on main and also in the release/19.x branch. Here is how to reproduce:

cmake -S llvm/ -G Ninja -B lldb-build -DLLVM_ENABLE_PROJECTS="clang;lld;lldb" -DLLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD=Native
ninja -C lldb-build check-lldb

You can view the full test output in the logs here: https://github.com/llvm/llvm-project/actions/runs/10569899235/job/29322620399 All the tests fail with errors like:

AssertionError: 'error: Couldn't look up symbols:
  std::deque<Foo, std::allocator<Foo>>::size() const
Hint: The expression tried to call a function that is not present in the target, perhaps because it was optimized out by the compiler.
' is not success

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions