Index: lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp =================================================================== --- lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp +++ lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp @@ -10,6 +10,7 @@ #include "NativeRegisterContextLinux_riscv64.h" +#include "lldb/Host/HostInfo.h" #include "lldb/Utility/DataBufferHeap.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/RegisterValue.h" @@ -48,6 +49,11 @@ } } +llvm::Expected +NativeRegisterContextLinux::DetermineArchitecture(lldb::tid_t tid) { + return HostInfo::GetArchitecture(); +} + NativeRegisterContextLinux_riscv64::NativeRegisterContextLinux_riscv64( const ArchSpec &target_arch, NativeThreadProtocol &native_thread, std::unique_ptr register_info_up)