[Lldb-commits] [lldb] r319832 - [Darwin] Delete dead code. NFCI.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 5 12:55:36 PST 2017


Author: davide
Date: Tue Dec  5 12:55:36 2017
New Revision: 319832

URL: http://llvm.org/viewvc/llvm-project?rev=319832&view=rev
Log:
[Darwin] Delete dead code. NFCI.

Modified:
    lldb/trunk/source/Plugins/Process/Darwin/NativeProcessDarwin.h

Modified: lldb/trunk/source/Plugins/Process/Darwin/NativeProcessDarwin.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Darwin/NativeProcessDarwin.h?rev=319832&r1=319831&r2=319832&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Darwin/NativeProcessDarwin.h (original)
+++ lldb/trunk/source/Plugins/Process/Darwin/NativeProcessDarwin.h Tue Dec  5 12:55:36 2017
@@ -197,20 +197,6 @@ private:
   // waitpid reader callback handle.
   MainLoop::ReadHandleUP m_waitpid_reader_handle;
 
-#if 0
-            ArchSpec m_arch;
-
-            LazyBool m_supports_mem_region;
-            std::vector<MemoryRegionInfo> m_mem_region_cache;
-
-            lldb::tid_t m_pending_notification_tid;
-
-            // List of thread ids stepping with a breakpoint with the address of
-            // the relevan breakpoint
-            std::map<lldb::tid_t, lldb::addr_t>
-            m_threads_stepping_with_breakpoint;
-#endif
-
   // -----------------------------------------------------------------
   // Private Instance Methods
   // -----------------------------------------------------------------
@@ -322,20 +308,6 @@ private:
 
   Status SetupSoftwareSingleStepping(NativeThreadDarwin &thread);
 
-#if 0
-            static ::ProcessMessage::CrashReason
-            GetCrashReasonForSIGSEGV(const siginfo_t *info);
-
-            static ::ProcessMessage::CrashReason
-            GetCrashReasonForSIGILL(const siginfo_t *info);
-
-            static ::ProcessMessage::CrashReason
-            GetCrashReasonForSIGFPE(const siginfo_t *info);
-
-            static ::ProcessMessage::CrashReason
-            GetCrashReasonForSIGBUS(const siginfo_t *info);
-#endif
-
   bool HasThreadNoLock(lldb::tid_t thread_id);
 
   bool StopTrackingThread(lldb::tid_t thread_id);




More information about the lldb-commits mailing list