diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda')
3 files changed, 13 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/Makefile b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/Makefile new file mode 100644 index 00000000000..82355a233cf --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/Makefile @@ -0,0 +1,3 @@ +LEVEL = ../../make +CXX_SOURCES := main.cpp +include $(LEVEL)/Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/TestCompletionCrashInLambda.py b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/TestCompletionCrashInLambda.py new file mode 100644 index 00000000000..a04ec919972 --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/TestCompletionCrashInLambda.py @@ -0,0 +1,4 @@ +from lldbsuite.test import lldbinline +from lldbsuite.test import decorators + +lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53755023")]) diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/main.cpp b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/main.cpp new file mode 100644 index 00000000000..3bce3f32f4a --- /dev/null +++ b/lldb/packages/Python/lldbsuite/test/expression_command/completion-crash-lambda/main.cpp @@ -0,0 +1,6 @@ +int main() { + []() + { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList()) + } + (); +} |