[llvm-branch-commits] [lldb] r182472 - Revert r181387 to fix the build, as lldb is out of step with the llvm/release_33 branch.

Ashok Thirumurthi ashok.thirumurthi at intel.com
Wed May 22 06:24:08 PDT 2013


Author: athirumu
Date: Wed May 22 08:23:37 2013
New Revision: 182472

URL: http://llvm.org/viewvc/llvm-project?rev=182472&view=rev
Log:
Revert r181387 to fix the build, as lldb is out of step with the llvm/release_33 branch.

Modified:
    lldb/branches/release_33/include/lldb/Expression/IRExecutionUnit.h
    lldb/branches/release_33/source/Expression/IRExecutionUnit.cpp

Modified: lldb/branches/release_33/include/lldb/Expression/IRExecutionUnit.h
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_33/include/lldb/Expression/IRExecutionUnit.h?rev=182472&r1=182471&r2=182472&view=diff
==============================================================================
--- lldb/branches/release_33/include/lldb/Expression/IRExecutionUnit.h (original)
+++ lldb/branches/release_33/include/lldb/Expression/IRExecutionUnit.h Wed May 22 08:23:37 2013
@@ -346,6 +346,38 @@ private:
         //------------------------------------------------------------------
         /// Passthrough interface stub
         //------------------------------------------------------------------
+        virtual uint8_t* startExceptionTable(const llvm::Function* F,
+                                             uintptr_t &ActualSize);
+        
+        //------------------------------------------------------------------
+        /// Complete the exception table for a function, and add it to the
+        /// m_exception_tables map
+        ///
+        /// @param[in] F
+        ///     The function whose exception table is being written.
+        ///
+        /// @param[in] TableStart
+        ///     The first byte of the exception table.
+        ///
+        /// @param[in] TableEnd
+        ///     The last byte of the exception table.
+        ///
+        /// @param[in] FrameRegister
+        ///     I don't know what this does, but it's passed through.
+        //------------------------------------------------------------------
+        virtual void endExceptionTable(const llvm::Function *F,
+                                       uint8_t *TableStart,
+                                       uint8_t *TableEnd,
+                                       uint8_t* FrameRegister);
+        
+        //------------------------------------------------------------------
+        /// Passthrough interface stub
+        //------------------------------------------------------------------
+        virtual void deallocateExceptionTable(void *ET);
+        
+        //------------------------------------------------------------------
+        /// Passthrough interface stub
+        //------------------------------------------------------------------
         virtual size_t GetDefaultCodeSlabSize() {
             return m_default_mm_ap->GetDefaultCodeSlabSize();
         }

Modified: lldb/branches/release_33/source/Expression/IRExecutionUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/release_33/source/Expression/IRExecutionUnit.cpp?rev=182472&r1=182471&r2=182472&view=diff
==============================================================================
--- lldb/branches/release_33/source/Expression/IRExecutionUnit.cpp (original)
+++ lldb/branches/release_33/source/Expression/IRExecutionUnit.cpp Wed May 22 08:23:37 2013
@@ -561,6 +561,28 @@ IRExecutionUnit::MemoryManager::dealloca
     m_default_mm_ap->deallocateFunctionBody(Body);
 }
 
+uint8_t*
+IRExecutionUnit::MemoryManager::startExceptionTable(const llvm::Function* F,
+                                                    uintptr_t &ActualSize)
+{
+    return m_default_mm_ap->startExceptionTable(F, ActualSize);
+}
+
+void
+IRExecutionUnit::MemoryManager::endExceptionTable(const llvm::Function *F,
+                                                  uint8_t *TableStart,
+                                                  uint8_t *TableEnd,
+                                                  uint8_t* FrameRegister)
+{
+    m_default_mm_ap->endExceptionTable(F, TableStart, TableEnd, FrameRegister);
+}
+
+void
+IRExecutionUnit::MemoryManager::deallocateExceptionTable(void *ET)
+{
+    m_default_mm_ap->deallocateExceptionTable (ET);
+}
+
 lldb::addr_t
 IRExecutionUnit::GetRemoteAddressForLocal (lldb::addr_t local_address)
 {





More information about the llvm-branch-commits mailing list