forked from OSchip/llvm-project
Use LLDB_INVALID_REGNUM at Mike Sartain's suggestion
llvm-svn: 184342
This commit is contained in:
parent
145eb97d3a
commit
897f50c5ba
|
@ -488,7 +488,7 @@ POSIXThread::ThreadNotify(const ProcessMessage &message)
|
|||
unsigned
|
||||
POSIXThread::GetRegisterIndexFromOffset(unsigned offset)
|
||||
{
|
||||
unsigned reg = 0;
|
||||
unsigned reg = LLDB_INVALID_REGNUM;
|
||||
ArchSpec arch = Host::GetArchitecture();
|
||||
|
||||
switch (arch.GetCore())
|
||||
|
|
Loading…
Reference in New Issue