mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-16 13:18:12 +01:00
(_Uia64_get_kernel_table): Only call get_kernel_table() if we do not already
have the kernel table. (Logical change 1.188)
This commit is contained in:
parent
e8be590f3d
commit
53a56cb759
1 changed files with 4 additions and 1 deletions
|
@ -347,6 +347,9 @@ get_kernel_table (unw_dyn_info_t *di)
|
||||||
PROTECTED int
|
PROTECTED int
|
||||||
_Uia64_get_kernel_table (unw_dyn_info_t *di)
|
_Uia64_get_kernel_table (unw_dyn_info_t *di)
|
||||||
{
|
{
|
||||||
|
if (kernel_table.u.ti.table_data)
|
||||||
|
return kernel_table.u.ti.table_data;
|
||||||
|
else
|
||||||
return get_kernel_table (di);
|
return get_kernel_table (di);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue