[Lldb-commits] [lldb] r367307 - [lldb][NFC] Check in crashing test case

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 30 05:20:03 PDT 2019


Author: teemperor
Date: Tue Jul 30 05:20:03 2019
New Revision: 367307

URL: http://llvm.org/viewvc/llvm-project?rev=367307&view=rev
Log:
[lldb][NFC] Check in crashing test case

Added:
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/Makefile
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/TestCompletionCrash1.py
    lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/main.cpp

Added: lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/Makefile?rev=367307&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/Makefile (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/Makefile Tue Jul 30 05:20:03 2019
@@ -0,0 +1,3 @@
+LEVEL = ../../make
+CXX_SOURCES := main.cpp
+include $(LEVEL)/Makefile.rules

Added: lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/TestCompletionCrash1.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/TestCompletionCrash1.py?rev=367307&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/TestCompletionCrash1.py (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/TestCompletionCrash1.py Tue Jul 30 05:20:03 2019
@@ -0,0 +1,4 @@
+from lldbsuite.test import lldbinline
+from lldbsuite.test import decorators
+
+lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53659341")])

Added: lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/main.cpp?rev=367307&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/main.cpp (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash1/main.cpp Tue Jul 30 05:20:03 2019
@@ -0,0 +1,12 @@
+namespace std {
+struct a {
+  a() {}
+  a(a &&);
+};
+template <class> struct au {
+  a ay;
+  ~au() { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
+  }
+};
+}
+int main() { std::au<int>{}; }




More information about the lldb-commits mailing list