summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-11-13 16:16:33 +0000
committerPavel Labath <labath@google.com>2017-11-13 16:16:33 +0000
commit5f19b9078349b12459a30e6e287d36de54a1329e (patch)
treeae66ff2e9788d850ba0fe16bdb8166478d3983de /lldb/source/Commands
parent69aa20e3caa5aeb291241765288d31d65c817a97 (diff)
downloadbcm5719-llvm-5f19b9078349b12459a30e6e287d36de54a1329e.tar.gz
bcm5719-llvm-5f19b9078349b12459a30e6e287d36de54a1329e.zip
Move ArchSpec to the Utility module
The rationale here is that ArchSpec is used throughout the codebase, including in places which should not depend on the rest of the code in the Core module. This commit touches many files, but most of it is just renaming of #include lines. In a couple of cases, I removed the #include ArchSpec line altogether, as the file was not using it. In one or two places, this necessitated adding other #includes like lldb-private-defines.h. llvm-svn: 318048
Diffstat (limited to 'lldb/source/Commands')
-rw-r--r--lldb/source/Commands/CommandObjectDisassemble.h6
-rw-r--r--lldb/source/Commands/CommandObjectFrame.h5
-rw-r--r--lldb/source/Commands/CommandObjectTarget.h5
3 files changed, 1 insertions, 15 deletions
diff --git a/lldb/source/Commands/CommandObjectDisassemble.h b/lldb/source/Commands/CommandObjectDisassemble.h
index 8ca390056dd..af15d45eb76 100644
--- a/lldb/source/Commands/CommandObjectDisassemble.h
+++ b/lldb/source/Commands/CommandObjectDisassemble.h
@@ -10,13 +10,9 @@
#ifndef liblldb_CommandObjectDisassemble_h_
#define liblldb_CommandObjectDisassemble_h_
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/CommandObject.h"
#include "lldb/Interpreter/Options.h"
+#include "lldb/Utility/ArchSpec.h"
namespace lldb_private {
diff --git a/lldb/source/Commands/CommandObjectFrame.h b/lldb/source/Commands/CommandObjectFrame.h
index 875bcc944a3..3199399163d 100644
--- a/lldb/source/Commands/CommandObjectFrame.h
+++ b/lldb/source/Commands/CommandObjectFrame.h
@@ -10,11 +10,6 @@
#ifndef liblldb_CommandObjectFrame_h_
#define liblldb_CommandObjectFrame_h_
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/CommandObjectMultiword.h"
#include "lldb/Interpreter/Options.h"
diff --git a/lldb/source/Commands/CommandObjectTarget.h b/lldb/source/Commands/CommandObjectTarget.h
index 865534111ee..643ce547dcb 100644
--- a/lldb/source/Commands/CommandObjectTarget.h
+++ b/lldb/source/Commands/CommandObjectTarget.h
@@ -10,11 +10,6 @@
#ifndef liblldb_CommandObjectTarget_h_
#define liblldb_CommandObjectTarget_h_
-// C Includes
-// C++ Includes
-// Other libraries and framework includes
-// Project includes
-#include "lldb/Core/ArchSpec.h"
#include "lldb/Interpreter/CommandObjectMultiword.h"
#include "lldb/Interpreter/Options.h"
OpenPOWER on IntegriCloud