[Lldb-commits] [lldb] r210942 - Add a check that we found an ABI plugin before calling a method on it.

Jason Molenda jmolenda at apple.com
Fri Jun 13 15:04:15 PDT 2014


Author: jmolenda
Date: Fri Jun 13 17:04:15 2014
New Revision: 210942

URL: http://llvm.org/viewvc/llvm-project?rev=210942&view=rev
Log:
Add a check that we found an ABI plugin before calling a method on it.


Modified:
    lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp

Modified: lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp?rev=210942&r1=210941&r2=210942&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Utility/RegisterContextLLDB.cpp Fri Jun 13 17:04:15 2014
@@ -594,7 +594,7 @@ RegisterContextLLDB::InitializeNonZeroth
                 repeating_frames = true;
             }
         }
-        if (repeating_frames && abi->FunctionCallsChangeCFA())
+        if (repeating_frames && abi && abi->FunctionCallsChangeCFA())
         {
             UnwindLogMsg ("same CFA address as next frame, assuming the unwind is looping - stopping");
             m_frame_type = eNotAValidFrame;





More information about the lldb-commits mailing list