add register name to UnwindLog error message

llvm-svn: 189062
This commit is contained in:
Michael Sartain 2013-08-22 21:00:35 +00:00
parent 093bf45f9c
commit 6e33ae64c4
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}