forked from OSchip/llvm-project
add register name to UnwindLog error message
llvm-svn: 189062
This commit is contained in:
parent
093bf45f9c
commit
6e33ae64c4
|
@ -1101,7 +1101,8 @@ RegisterContextLLDB::SavedLocationForRegister (uint32_t lldb_regnum, lldb_privat
|
|||
const RegisterInfo *reg_info = GetRegisterInfoAtIndex(lldb_regnum);
|
||||
if (reg_info && abi->RegisterIsVolatile (reg_info))
|
||||
{
|
||||
UnwindLogMsg ("did not supply reg location for %d because it is volatile", lldb_regnum);
|
||||
UnwindLogMsg ("did not supply reg location for %d (%s) because it is volatile",
|
||||
lldb_regnum, reg_info->name ? reg_info->name : "??");
|
||||
return UnwindLLDB::RegisterSearchResult::eRegisterIsVolatile;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue