diff options
author | Alexander Polyakov <polyakov.alx@gmail.com> | 2018-07-03 15:40:20 +0000 |
---|---|---|
committer | Alexander Polyakov <polyakov.alx@gmail.com> | 2018-07-03 15:40:20 +0000 |
commit | 8c670ec73fb585e4aeffc338f56c5ea1c3011278 (patch) | |
tree | ffad83a976933192fc6193596ff1c5d8b991c316 /lldb/packages/Python/lldbsuite/test | |
parent | 8cd1f533340e1b6f3b93577795e874fea9b6a31e (diff) | |
download | bcm5719-llvm-8c670ec73fb585e4aeffc338f56c5ea1c3011278.tar.gz bcm5719-llvm-8c670ec73fb585e4aeffc338f56c5ea1c3011278.zip |
[lldb-mi] Re-implement symbol-list-lines command.
Summary: Now this command uses SB API instead of HandleCommand.
Reviewers: aprantl, clayborg
Reviewed By: aprantl, clayborg
Subscribers: ki.stfu, eraman, lldb-commits
Differential Revision: https://reviews.llvm.org/D48802
llvm-svn: 336206
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
5 files changed, 0 insertions, 124 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile deleted file mode 100644 index dde38f4e486..00000000000 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -LEVEL = ../../../make - -CXX_SOURCES := main.cpp symbol_list_lines_inline_test.cpp symbol_list_lines_inline_test2.cpp - -include $(LEVEL)/Makefile.rules diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp deleted file mode 100644 index 6d725a5759b..00000000000 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -//===-- main.cpp ------------------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -extern int j; -extern int gfunc(int i); -extern int gfunc2(int i); -int -main() -{ // FUNC_main - int i = gfunc(j) + gfunc2(j); - return i == 0; -} diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp deleted file mode 100644 index c432ba8c477..00000000000 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// Skip lines so we can make sure we're not seeing any lines from -// symbol_list_lines_inline_test.h included in -symbol-list-lines -// symbol_list_lines_inline_test.cpp, by checking that all the lines -// are between 30 and 39. -// line 5 -// line 6 -// line 7 -// line 8 -// line 9 -// line 10 -// line 11 -// line 12 -// line 13 -// line 14 -// line 15 -// line 16 -// line 17 -// line 18 -// line 19 -// line 20 -// line 21 -// line 22 -// line 23 -// line 24 -// line 25 -// line 26 -// line 27 -// line 28 -// line 29 -#include "symbol_list_lines_inline_test.h" -int -gfunc(int i) -{ // FUNC_gfunc - return ns::ifunc(i); -} -namespace ns -{ -S s; // STRUCT_s -} diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h deleted file mode 100644 index 4b986dc6932..00000000000 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test.h +++ /dev/null @@ -1,24 +0,0 @@ -namespace ns -{ -inline int -ifunc(int i) -{ // FUNC_ifunc - return i; -} -struct S -{ - int a; - int b; - S() - : a(3) - , b(4) - { - } - int - mfunc() - { // FUNC_mfunc - return a + b; - } -}; -extern S s; -} diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp b/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp deleted file mode 100644 index cfedf47ad6b..00000000000 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-mi/symbol/symbol_list_lines_inline_test2.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// Skip lines so we can make sure we're not seeing any lines from -// symbol_list_lines_inline_test.h included in -symbol-list-lines -// symbol_list_lines_inline_test2.cpp, by checking that all the lines -// are between 30 and 39. -// line 5 -// line 6 -// line 7 -// line 8 -// line 9 -// line 10 -// line 11 -// line 12 -// line 13 -// line 14 -// line 15 -// line 16 -// line 17 -// line 18 -// line 19 -// line 20 -// line 21 -// line 22 -// line 23 -// line 24 -// line 25 -// line 26 -// line 27 -// line 28 -// line 29 -#include "symbol_list_lines_inline_test.h" -int j = 2; -int -gfunc2(int i) -{ // FUNC_gfunc2 - i += ns::s.mfunc(); - i += ns::ifunc(i); - return i == 0; // END_gfunc2 -} |