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;


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to