Adrian Prantl 3c0fba4f24 Revert "Revert "[lldb] Extend frame recognizers to hide frames from backtraces (#104523)""
This reverts commit 547917aebd1e79a8929b53f0ddf3b5185ee4df74.
2024-08-23 11:06:01 -07:00

11 lines
180 B
C++

#include <functional>
int foo(int x, int y) {
return x * y; // break here
}
int main(int argc, char *argv[]) {
std::function<int(int, int)> fn = foo;
return fn(argc, 1);
}