Move StopInfoOverride callback to the new architecture plugin
authorPavel Labath <labath@google.com>
Wed, 25 Oct 2017 21:05:31 +0000 (21:05 +0000)
committerPavel Labath <labath@google.com>
Wed, 25 Oct 2017 21:05:31 +0000 (21:05 +0000)
commit13e37d4d0a3fd5cb34b7adee3ba123127b15f9c4
tree05eab3bed283532a772c0d7d0fa34bb09a04b59e
parentc2400fc0d53f891adf745d2cb8cb4825796db344
Move StopInfoOverride callback to the new architecture plugin

This creates a new Architecture plugin and moves the stop info override
callback to this place. The motivation for this is to remove complex
dependencies from the ArchSpec class because it is used in a lot of
places that (should) know nothing about Process instances and StopInfo
objects.

I also add a test for the functionality covered by the override
callback.

Differential Revision: https://reviews.llvm.org/D31172

llvm-svn: 316609
19 files changed:
lldb/include/lldb/Core/ArchSpec.h
lldb/include/lldb/Core/Architecture.h [new file with mode: 0644]
lldb/include/lldb/Core/PluginManager.h
lldb/include/lldb/Target/Process.h
lldb/include/lldb/Target/Target.h
lldb/packages/Python/lldbsuite/test/arm/breakpoint-it/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/arm/breakpoint-it/TestBreakpointIt.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/arm/breakpoint-it/main.c [new file with mode: 0644]
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Core/ArchSpec.cpp
lldb/source/Core/PluginManager.cpp
lldb/source/Plugins/Architecture/Arm/ArchitectureArm.cpp [new file with mode: 0644]
lldb/source/Plugins/Architecture/Arm/ArchitectureArm.h [new file with mode: 0644]
lldb/source/Plugins/Architecture/Arm/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/Architecture/CMakeLists.txt [new file with mode: 0644]
lldb/source/Plugins/CMakeLists.txt
lldb/source/Target/Process.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/Thread.cpp