<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/106475>106475</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
lldb-api import-std-module tests failing
</td>
</tr>
<tr>
<th>Labels</th>
<td>
lldb
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tstellar
</td>
</tr>
</table>
<pre>
```
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
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0Vdtu2zgTfhr6ZiBDpnzShS58Upv_T9IicQv0KqDIscSEIrU8OHGffkHJTrLd7qKLxQKCSJBz-GbmmyFzTtYasSCzNZltRyz4xtjCO49KMTuqjDgVZJ6ev3RL0lXJpEIBe3TeAaHLjNCcZKvhEkApUSWskxDPshVw07ZMC0doiS-dReek0YSW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