[libcxx-commits] [libcxx] [lldb] [lldb][libc++] Hide all libc++ implementation details from stacktraces (PR #108870)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 17 12:32:50 PDT 2024


ldionne wrote:


> Do you have an idea how we could de-risk this change? E.g., would do you have a couple more scenarios in mind for which I should add test cases? Are there similar patterns to the `operator()` which I should also cover in test cases?

What I could imagine is to drive this via attributes instead of a heuristic. We could potentially mark implementation details of libc++ as such to control what the debugging experience is like at a much finer grain if we used attributes, but obviously this would also increase complexity in the code and it would be yet another thing that we have to slap on almost every declaration.

> Do we have some libc++ developers which are using lldb top-of-tree for their day-to-day work on libc++ and who would make us aware in case this commit turns out to be too aggressive?

I'm not aware of anyone. I just use `lldb` provided by the platform usually.


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


More information about the libcxx-commits mailing list