forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
.. | ||
RegisterContextWindows_x86.cpp | ||
RegisterContextWindows_x86.h |