Michael137 wrote:

FWIW, to keep the tests as hermetic as possible we usually don't include the 
libc++ headers unless we're specifically testing them for, e.g., 
data-formatters.

You're not really testing the frame recognizers themselves, but just the fact 
that hidden frames get marked.

We might be able to use scripted frame providers to artificially set up a 
scenario where some of the frames are hidden (see 
`lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.py`).
 But if that gets too fiddly, you could implement some dummy functions in the 
`std::__1` namespace and simulate the presence of libc++ that way (not great, 
but not the worst).

https://github.com/llvm/llvm-project/pull/176736
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to