[Lldb-commits] [lldb] d13da5f - [lldb] Remove lldbconfig module
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 7 15:58:48 PST 2022
Author: Jonas Devlieghere
Date: 2022-01-07T15:58:43-08:00
New Revision: d13da5f0da1ca39d2130f4ae602184350c3ec968
URL: https://github.com/llvm/llvm-project/commit/d13da5f0da1ca39d2130f4ae602184350c3ec968
DIFF: https://github.com/llvm/llvm-project/commit/d13da5f0da1ca39d2130f4ae602184350c3ec968.diff
LOG: [lldb] Remove lldbconfig module
The lldbconfig module was necessary to run the LLDB test suite against a
reproducer. Since this functionality has been removed, the module is no
longer necessary.
Added:
Modified:
lldb/bindings/python/python.swig
Removed:
lldb/packages/Python/lldbconfig/__init__.py
################################################################################
diff --git a/lldb/bindings/python/python.swig b/lldb/bindings/python/python.swig
index 5dcbd68d85447..cb80e1be61a82 100644
--- a/lldb/bindings/python/python.swig
+++ b/lldb/bindings/python/python.swig
@@ -133,15 +133,8 @@ using namespace lldb;
%include "python-wrapper.swig"
%pythoncode%{
-_initialize = True
-try:
- import lldbconfig
- _initialize = lldbconfig.INITIALIZE
-except ImportError:
- pass
debugger_unique_id = 0
-if _initialize:
- SBDebugger.Initialize()
+SBDebugger.Initialize()
debugger = None
target = None
process = None
diff --git a/lldb/packages/Python/lldbconfig/__init__.py b/lldb/packages/Python/lldbconfig/__init__.py
deleted file mode 100644
index 6c43d709df71b..0000000000000
--- a/lldb/packages/Python/lldbconfig/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-INITIALIZE = True
More information about the lldb-commits
mailing list