[Lldb-commits] [lldb] r356486 - [StackFrameRecognizer] Remove unneeded LLDB_DISABLE_PYTHON.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 19 10:35:37 PDT 2019


Author: davide
Date: Tue Mar 19 10:35:37 2019
New Revision: 356486

URL: http://llvm.org/viewvc/llvm-project?rev=356486&view=rev
Log:
[StackFrameRecognizer] Remove unneeded LLDB_DISABLE_PYTHON.

Modified:
    lldb/trunk/include/lldb/Target/StackFrameRecognizer.h
    lldb/trunk/source/Target/StackFrameRecognizer.cpp

Modified: lldb/trunk/include/lldb/Target/StackFrameRecognizer.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/StackFrameRecognizer.h?rev=356486&r1=356485&r2=356486&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/StackFrameRecognizer.h (original)
+++ lldb/trunk/include/lldb/Target/StackFrameRecognizer.h Tue Mar 19 10:35:37 2019
@@ -59,8 +59,6 @@ public:
   virtual ~StackFrameRecognizer(){};
 };
 
-#ifndef LLDB_DISABLE_PYTHON
-
 /// \class ScriptedStackFrameRecognizer
 ///
 /// Python implementation for frame recognizers. An instance of this class
@@ -90,8 +88,6 @@ private:
   DISALLOW_COPY_AND_ASSIGN(ScriptedStackFrameRecognizer);
 };
 
-#endif
-
 /// \class StackFrameRecognizerManager
 ///
 /// Static class that provides a registry of known stack frame recognizers.

Modified: lldb/trunk/source/Target/StackFrameRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/StackFrameRecognizer.cpp?rev=356486&r1=356485&r2=356486&view=diff
==============================================================================
--- lldb/trunk/source/Target/StackFrameRecognizer.cpp (original)
+++ lldb/trunk/source/Target/StackFrameRecognizer.cpp Tue Mar 19 10:35:37 2019
@@ -17,8 +17,6 @@
 using namespace lldb;
 using namespace lldb_private;
 
-#ifndef LLDB_DISABLE_PYTHON
-
 class ScriptedRecognizedStackFrame : public RecognizedStackFrame {
 public:
   ScriptedRecognizedStackFrame(ValueObjectListSP args) {
@@ -50,8 +48,6 @@ ScriptedStackFrameRecognizer::RecognizeF
       new ScriptedRecognizedStackFrame(args_synthesized));
 }
 
-#endif
-
 class StackFrameRecognizerManagerImpl {
 public:
   void AddRecognizer(StackFrameRecognizerSP recognizer,




More information about the lldb-commits mailing list