This revision was automatically updated to reflect the committed changes.
Closed by commit rG91389000abe8: [LLDB] Add data formatter for
std::coroutine_handle (authored by avogelsgesang).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
htt
avogelsgesang added inline comments.
Comment at: lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp:39
+ CompilerType coro_func_type = ast_ctx.CreateFunctionType(
+ /*result_type*/ void_type, /*args*/ &void_type, /*num_args*/ 1,
+ /*is_variadic*/ false, /*qualifiers
avogelsgesang updated this revision to Diff 455111.
avogelsgesang marked an inline comment as done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
https://reviews.llvm.org/D132415
Files:
clang/docs/tools/clang-formatted-files.txt
lldb/packages/Python/lldbsuite/test/lldbtes
shafik added inline comments.
Comment at: lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp:39
+ CompilerType coro_func_type = ast_ctx.CreateFunctionType(
+ /*result_type*/ void_type, /*args*/ &void_type, /*num_args*/ 1,
+ /*is_variadic*/ false, /*qualifiers*/ 0);
avogelsgesang added inline comments.
Comment at:
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py:15
+
+class TestCoroutineHandle(TestBase):
+def do_test(self, stdlib_type):
jingham wrote:
> apra
avogelsgesang updated this revision to Diff 455022.
avogelsgesang marked 4 inline comments as done.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
https://reviews.llvm.org/D132415
Files:
clang/docs/tools/clang-formatted-files.txt
lldb/packages/Python/lldbsuite/test/lldbtes
jingham added inline comments.
Comment at:
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py:44
+
+lldbutil.run_to_source_breakpoint(self, '// Break after co_yield',
+lldb.SBFileSpec("main.cpp"
jingham added inline comments.
Comment at:
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py:15
+
+class TestCoroutineHandle(TestBase):
+def do_test(self, stdlib_type):
aprantl wrote:
> Nice test!
avogelsgesang marked an inline comment as done.
avogelsgesang added inline comments.
Comment at:
lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py:44
+
+lldbutil.run_to_source_breakpoint(self, '// Break after
avogelsgesang updated this revision to Diff 454911.
avogelsgesang marked 6 inline comments as done.
avogelsgesang added a comment.
addressed comments from @aprantl
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
https://reviews.llvm.org/D
aprantl added inline comments.
Comment at: lldb/source/Plugins/Language/CPlusPlus/Coroutines.h:1
+//===-- Coroutines.h ---*-
C++//-*-===//
+//
typo: `-*- C++ -*-`
Comment at: lldb/source/Plugins/Language
avogelsgesang updated this revision to Diff 454830.
avogelsgesang added a comment.
clang-format
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
https://reviews.llvm.org/D132415
Files:
clang/docs/tools/clang-formatted-files.txt
lldb/p
avogelsgesang updated this revision to Diff 454728.
avogelsgesang added a comment.
remove unrelated changes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132415/new/
https://reviews.llvm.org/D132415
Files:
clang/docs/tools/clang-formatted-files.
ChuanqiXu added a reviewer: dblaikie.
ChuanqiXu added a comment.
LGTM. But I am not familiar with debugger internals. So I'll leave the formal
acceptance for other reviewers.
Comment at: lldb/source/Plugins/Language/CPlusPlus/Coroutines.cpp:138
+}
\ No newline at end of file
avogelsgesang added inline comments.
Comment at: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp:1139
+ AddCXXSynthetic( // XXX
+ cpp_category_sp,
I need to remove this. This is a left-over from an earlier implementation sketch
Repository:
avogelsgesang created this revision.
avogelsgesang added reviewers: ChuanqiXu, aprantl, labath, mib, JDevlieghere.
Herald added a subscriber: mgorny.
Herald added a project: All.
avogelsgesang requested review of this revision.
Herald added projects: clang, LLDB.
Herald added subscribers: lldb-comm
16 matches
Mail list logo