aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/gdbclientutils.py
diff options
context:
space:
mode:
authorMogball <jeffniu22@gmail.com>2022-03-15 07:12:37 +0000
committerMogball <jeffniu22@gmail.com>2022-03-15 07:15:15 +0000
commit4767e267757fa56d40248b759d7b17ac1c6fb2ef (patch)
treee20af3579c2c32388e70a3cf9eac727aa0bd0893 /lldb/packages/Python/lldbsuite/test/gdbclientutils.py
parent6143ec2961d14c0b913d7687a0db209a9b26e39c (diff)
downloadllvm-4767e267757fa56d40248b759d7b17ac1c6fb2ef.zip
llvm-4767e267757fa56d40248b759d7b17ac1c6fb2ef.tar.gz
llvm-4767e267757fa56d40248b759d7b17ac1c6fb2ef.tar.bz2
[mlir][ods] Add support for custom directive in attr/type formats
This patch adds support for custom directives in attribute and type formats. Custom directives dispatch calls to user-defined parser and printer functions. For example, the assembly format "custom<Foo>($foo, ref($bar))" expects a function with the signature ``` LogicalResult parseFoo(AsmParser &parser, FailureOr<FooT> &foo, BarT bar); void printFoo(AsmPrinter &printer, FooT foo, BarT bar); ``` Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D120944
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions