HomePhabricator

Unconditionally accept symbol sizes from elf

Authored by tberghammer on Jan 18 2016, 2:38 AM.

Description

Unconditionally accept symbol sizes from elf

The ELF symbol table always contain the size of the symbols so we
don't have to try to guess them based on the address of the next
symbol (it is needed for mach-o).

The change fixes an issue when a symbol is removed after a 0 size
symbol (e.g. because the second one is not public) what previously
caused the symbol lookup algorithm to end up with showing the 0 size
symbol even for the later addresses (what are not part of any symbol).
That symbol lookup error can confuse the user and also confuses the
current stack unwinder.

Differential revision: http://reviews.llvm.org/D16186

llvm-svn: 258040

Details

Committed
tberghammerJan 18 2016, 2:38 AM
Differential Revision
D16186: Unconditionally accept symbol sizes from elf
Parents
rG91c45e8f46ae: [analyzer] Fix an off-by-one in evalIntegralCast()
Branches
Unknown
Tags
Unknown