diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-10 08:54:30 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-10 11:16:52 -0800 |
commit | 59998b7b7f12c867062a4b61579511ad6c0ca144 (patch) | |
tree | 16c55c2623826dd24e5f18fbe2a4c1417c9efe2e /lldb/source/Interpreter/CommandObjectScript.cpp | |
parent | e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf (diff) | |
download | bcm5719-llvm-59998b7b7f12c867062a4b61579511ad6c0ca144.tar.gz bcm5719-llvm-59998b7b7f12c867062a4b61579511ad6c0ca144.zip |
[lldb/Host] Use Host/Config.h entries instead of a global define.
As suggested by Pavel in a code review:
> Can we replace this (and maybe python too, while at it) with a
> Host/Config.h entry? A global definition means that one has to
> recompile everything when these change in any way, whereas in
> practice only a handful of files need this..
Differential revision: https://reviews.llvm.org/D71280
Diffstat (limited to 'lldb/source/Interpreter/CommandObjectScript.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandObjectScript.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Interpreter/CommandObjectScript.cpp b/lldb/source/Interpreter/CommandObjectScript.cpp index edb1f67e7b3..d9ee30ca8ab 100644 --- a/lldb/source/Interpreter/CommandObjectScript.cpp +++ b/lldb/source/Interpreter/CommandObjectScript.cpp @@ -7,12 +7,9 @@ //===----------------------------------------------------------------------===// #include "CommandObjectScript.h" - - #include "lldb/Core/Debugger.h" - #include "lldb/DataFormatters/DataVisualization.h" - +#include "lldb/Host/Config.h" #include "lldb/Interpreter/CommandInterpreter.h" #include "lldb/Interpreter/CommandReturnObject.h" #include "lldb/Interpreter/ScriptInterpreter.h" |