b10902118 wrote:

> > So the solution is copying the implementation in 
> > NativeRegisterContextLinux_arm64.cpp.
> 
> Yes, try putting the 64-bit code in a separate file in Process/Linux then 
> using it in both places.
> 
> Currently arm64 includes the arm header, for reasons I am not sure, so if 
> there is a dependency, it's going the wrong way for us to use it for this.

The include of arm header is just for the factory function 
`CreateHostNativeRegisterContextLinux` to return 
`NativeRegisterContextLinux_arm` for arm32 process, tested by removing only 
that part and compiling.

https://github.com/llvm/llvm-project/pull/147198
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to