[Lldb-commits] [lldb] r369908 - [ProcessWindows] Remove equivalent macros

Tatyana Krasnukha via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 26 06:35:59 PDT 2019


Author: tkrasnukha
Date: Mon Aug 26 06:35:59 2019
New Revision: 369908

URL: http://llvm.org/viewvc/llvm-project?rev=369908&view=rev
Log:
[ProcessWindows] Remove equivalent macros

Modified:
    lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
    lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h

Modified: lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp?rev=369908&r1=369907&r2=369908&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.cpp Mon Aug 26 06:35:59 2019
@@ -6,7 +6,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#if defined(__x86_64__) || defined(__amd64__) || defined(_M_X64) || defined(_M_AMD64)
+#if defined(__x86_64__) || defined(_M_X64)
 
 #include "lldb/Host/windows/HostThreadWindows.h"
 #include "lldb/Host/windows/windows.h"
@@ -537,4 +537,4 @@ bool RegisterContextWindows_x64::WriteRe
       wthread.GetHostThread().GetNativeThread().GetSystemHandle(), &m_context);
 }
 
-#endif // defined(__x86_64__) || defined(__amd64__) || defined(_M_X64) || defined(_M_AMD64)
+#endif // defined(__x86_64__) || defined(_M_X64)

Modified: lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h?rev=369908&r1=369907&r2=369908&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h (original)
+++ lldb/trunk/source/Plugins/Process/Windows/Common/x64/RegisterContextWindows_x64.h Mon Aug 26 06:35:59 2019
@@ -9,7 +9,7 @@
 #ifndef liblldb_RegisterContextWindows_x64_H_
 #define liblldb_RegisterContextWindows_x64_H_
 
-#if defined(__x86_64__) || defined(__amd64__) || defined(_M_X64) || defined(_M_AMD64)
+#if defined(__x86_64__) || defined(_M_X64)
 
 #include "RegisterContextWindows.h"
 #include "lldb/lldb-forward.h"
@@ -42,6 +42,6 @@ public:
 };
 }
 
-#endif // defined(__x86_64__) || defined(__amd64__) || defined(_M_X64) || defined(_M_AMD64)
+#endif // defined(__x86_64__) || defined(_M_X64)
 
 #endif // #ifndef liblldb_RegisterContextWindows_x64_H_




More information about the lldb-commits mailing list