mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-30 02:27:38 +01:00
(parse_cie): Clarify the comment about the default FDE-encoding a bit.
(Logical change 1.253)
This commit is contained in:
parent
18acb92530
commit
9ac7a860d1
1 changed files with 5 additions and 3 deletions
|
@ -47,9 +47,11 @@ parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr,
|
||||||
# define STR2(x) #x
|
# define STR2(x) #x
|
||||||
# define STR(x) STR2(x)
|
# define STR(x) STR2(x)
|
||||||
|
|
||||||
/* Pick appropriate default for FDE-encoding. DWARF spec says it
|
/* Pick appropriate default for FDE-encoding. DWARF spec says
|
||||||
has to be the size of the addressing unit of the architecture,
|
start-IP (initial_location) and the code-size (address_range) are
|
||||||
unless specfied otherwise in the augmentation string. */
|
"address-unit sized constants". The `R' augmentation can be used
|
||||||
|
to override this, but by default, we pick an address-sized unit
|
||||||
|
for fde_encoding. */
|
||||||
switch (sizeof (unw_word_t))
|
switch (sizeof (unw_word_t))
|
||||||
{
|
{
|
||||||
case 4: fde_encoding = DW_EH_PE_udata4; break;
|
case 4: fde_encoding = DW_EH_PE_udata4; break;
|
||||||
|
|
Loading…
Reference in a new issue