mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-26 21:13:42 +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 STR(x) STR2(x)
|
||||
|
||||
/* Pick appropriate default for FDE-encoding. DWARF spec says it
|
||||
has to be the size of the addressing unit of the architecture,
|
||||
unless specfied otherwise in the augmentation string. */
|
||||
/* Pick appropriate default for FDE-encoding. DWARF spec says
|
||||
start-IP (initial_location) and the code-size (address_range) are
|
||||
"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))
|
||||
{
|
||||
case 4: fde_encoding = DW_EH_PE_udata4; break;
|
||||
|
|
Loading…
Reference in a new issue