diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-13 10:37:33 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-13 13:41:11 -0800 |
commit | 4e26cf2cfb2b140a33ec236153cb2f23b5c44127 (patch) | |
tree | 466e768fef375dd038474f91abc4eb255dca93ec /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 9cb7a1be2a430a50fb5644b3f48d4a1544034fb9 (diff) | |
download | llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.zip llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.tar.gz llvm-4e26cf2cfb2b140a33ec236153cb2f23b5c44127.tar.bz2 |
[lldb/CMake] Rename LLDB_DISABLE_PYTHON to LLDB_ENABLE_PYTHON
This matches the naming scheme used by LLVM and all the other optional
dependencies in LLDB.
Differential revision: https://reviews.llvm.org/D71482
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index d743900..5669ce1 100644 --- a/lldb/source/Commands/CommandObjectFrame.cpp +++ b/lldb/source/Commands/CommandObjectFrame.cpp @@ -852,7 +852,7 @@ Process 1234 stopped bool CommandObjectFrameRecognizerAdd::DoExecute(Args &command, CommandReturnObject &result) { -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON if (m_options.m_class_name.empty()) { result.AppendErrorWithFormat( "%s needs a Python class name (-l argument).\n", m_cmd_name.c_str()); @@ -1106,7 +1106,7 @@ CommandObjectMultiwordFrame::CommandObjectMultiwordFrame( CommandObjectSP(new CommandObjectFrameSelect(interpreter))); LoadSubCommand("variable", CommandObjectSP(new CommandObjectFrameVariable(interpreter))); -#ifndef LLDB_DISABLE_PYTHON +#if LLDB_ENABLE_PYTHON LoadSubCommand("recognizer", CommandObjectSP(new CommandObjectFrameRecognizer( interpreter))); #endif |