llvm-project/lldb/source/Plugins/Process/Windows/Common/x86
Carlo Kok 490d18b3c5 (Minor tweak) Make RegisterContextWindows_x86/x64::GetRegisterInfoAtIndex
return NULL for an invalid register.

The unwind logic asks for the "return address register" which doesn't exist
on x86/x86_64, returns -1 and calls this with -1 as a parameter, ends up 
out of scope of the array bounds for g_register_infos and later SIGSEGVs 
on accessing. This now matches the other GetRegisterInfoAtIndex for
other platforms.

llvm-svn: 271876
2016-06-06 09:40:27 +00:00
..
RegisterContextWindows_x86.cpp (Minor tweak) Make RegisterContextWindows_x86/x64::GetRegisterInfoAtIndex 2016-06-06 09:40:27 +00:00
RegisterContextWindows_x86.h Improve ReadRegister for RegisterContextWindowsx86 2016-02-11 18:24:57 +00:00