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

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 05:06:22 PDT 2019


Author: teemperor
Date: Wed Jul 31 05:06:22 2019
New Revision: 367416

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

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

Added: lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/Makefile?rev=367416&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/Makefile (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/Makefile Wed Jul 31 05:06:22 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-crash2/TestCompletionCrash2.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/TestCompletionCrash2.py?rev=367416&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/TestCompletionCrash2.py (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/TestCompletionCrash2.py Wed Jul 31 05:06:22 2019
@@ -0,0 +1,4 @@
+from lldbsuite.test import lldbinline
+from lldbsuite.test import decorators
+
+lldbinline.MakeInlineTest(__file__, globals(), [decorators.skipIf(bugnumber="rdar://53754063")])

Added: lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp?rev=367416&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/expression_command/completion-crash2/main.cpp Wed Jul 31 05:06:22 2019
@@ -0,0 +1,11 @@
+namespace n {
+template <class> class a {};
+template <class b> struct shared_ptr {
+  template <class...>
+  static void make_shared() { //%self.dbg.GetCommandInterpreter().HandleCompletion("e ", len("e "), 0, -1, lldb.SBStringList())
+    typedef a<b> c;
+    c d;
+  }
+};
+} // namespace n
+int main() { n::shared_ptr<int>::make_shared(); }




More information about the lldb-commits mailing list