[ProcessWindows] Choose a register context file by preprocessor
authorTatyana Krasnukha <tatyana@synopsys.com>
Wed, 31 Jul 2019 12:00:30 +0000 (12:00 +0000)
committerTatyana Krasnukha <tatyana@synopsys.com>
Wed, 31 Jul 2019 12:00:30 +0000 (12:00 +0000)
commite98b4188dc6e65617c2424ed3fa83658593bf6bb
treea3698c7b6f418f2c613ca29900a469ccb443fab9
parente84f78412bb6cf06e7ff35cb49da60596f582aa7
[ProcessWindows] Choose a register context file by preprocessor

Replaced Cmake option based check with the preprocessor macro as CMAKE_SYSTEM_PROCESSOR doesn't work as expected on Windows.

Fixes llvm.org/pr42724

Differential Revision: https://reviews.llvm.org/D65409

llvm-svn: 367414
lldb/source/Plugins/Process/Windows/Common/CMakeLists.txt
lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
lldb/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h
lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.cpp
lldb/source/Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.h