Skip to content

Commit a42967f

Browse files
committed
[LLDB] [Windows] Remove a TODO which probably won't be implemented
Contrary to WoW64 on x86_64, there's no struct similar to WOW64_CONTEXT defined, for storing and handling the CPU state of an ARM32 process from an ARM64 process. Thus, making an ARM64 lldb-server able to control ARM32 processes seems infeasible at the moment. (The normal CONTEXT struct has a different layout on each architecture. In addition to this, a WOW64_CONTEXT struct always is defined, that can store the CPU state of an x86_32 process, to allow handling it from an x86_64 process. But there's no similar universally available struct for ARM32.)
1 parent 7e1a307 commit a42967f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_arm64.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,6 @@ static Status SetThreadContextHelper(lldb::thread_t thread_handle,
135135
std::unique_ptr<NativeRegisterContextWindows>
136136
NativeRegisterContextWindows::CreateHostNativeRegisterContextWindows(
137137
const ArchSpec &target_arch, NativeThreadProtocol &native_thread) {
138-
// TODO: Register context for a WoW64 application?
139-
140138
// Register context for a native 64-bit application.
141139
return std::make_unique<NativeRegisterContextWindows_arm64>(target_arch,
142140
native_thread);

0 commit comments

Comments
 (0)