Michael Buch 4749bf56a6
[lldb] When starting in a hidden frame, don't skip over hidden frames when navigating up/down (#166394)
When stopped in a hidden frame (either because we selected the hidden
frame or hit a breakpoint inside it), a user most likely is intersted in
exploring the immediate frames around it. But currently issuing
`up`/`down` commands will unconditionally skip over all hidden frames.

This patch makes it so `up`/`down` commands don't skip hidden frames if
the frame we started it was a hidden frame.
2025-11-04 16:24:24 +00:00

14 lines
341 B
C++

namespace std {
namespace __1 {
static const char *__impl2() { return "Break here"; }
static const char *__impl1() { return __impl2(); }
static const char *__impl() { return __impl1(); }
static const char *non_impl() { return __impl(); }
} // namespace __1
} // namespace std
int main() {
std::__1::non_impl();
__builtin_debugtrap();
}