[libcxx-commits] [libcxx] [lldb] [lldb][libc++] Hide all libc++ implementation details from stacktraces (PR #108870)
via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 16 11:50:26 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 6d3f6c2170dd60e86743c205e33ead2f455656b4...f0ffdc6f1d999dc3c774f1d42d03db286705c1b5 lldb/test/API/lang/cpp/libcxx-internals-recognizer/TestLibcxxInternalsRecognizer.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestLibcxxInternalsRecognizer.py 2024-09-16 18:44:07.000000 +0000
+++ TestLibcxxInternalsRecognizer.py 2024-09-16 18:50:00.862835 +0000
@@ -21,18 +21,26 @@
# which unfortunately means that there is no `std::ranges::sort`
# stack frame, and `main` is the direct parent of `my_less_ranges`.
"ranges_sort_less(int, int)": ["test_algorithms"],
# `ranges::views::transform` internally uses `std::invoke`, and that
# call also shows up in the stack trace
- "view_transform(int)": ["::invoke", "ranges::transform_view", "test_algorithms"],
+ "view_transform(int)": [
+ "::invoke",
+ "ranges::transform_view",
+ "test_algorithms",
+ ],
# Various types of `invoke` calls
"consume_number(int)": ["::invoke", "test_invoke"],
"invoke_add(int, int)": ["::invoke", "test_invoke"],
"Callable::member_function(int) const": ["::invoke", "test_invoke"],
"Callable::operator()(int) const": ["::invoke", "test_invoke"],
# Containers
- "MyKey::operator<(MyKey const&) const": ["less", "::emplace", "test_containers"],
+ "MyKey::operator<(MyKey const&) const": [
+ "less",
+ "::emplace",
+ "test_containers",
+ ],
}
stop_set = set()
while process.GetState() != lldb.eStateExited:
fn = thread.GetFrameAtIndex(0).GetFunctionName()
stop_set.add(fn)
``````````
</details>
https://github.com/llvm/llvm-project/pull/108870
More information about the libcxx-commits
mailing list