aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2016-01-18 10:38:34 +0000
committerTamas Berghammer <tberghammer@google.com>2016-01-18 10:38:34 +0000
commit6b2322fb4ca7dd7ca9c511386c24cb5ba5ce4a82 (patch)
tree567718af0d349007aa51957f549c14fefa9358b3 /llvm/lib/Support/Host.cpp
parent91c45e8f46aed4dada620043b98060503247299c (diff)
downloadllvm-6b2322fb4ca7dd7ca9c511386c24cb5ba5ce4a82.zip
llvm-6b2322fb4ca7dd7ca9c511386c24cb5ba5ce4a82.tar.gz
llvm-6b2322fb4ca7dd7ca9c511386c24cb5ba5ce4a82.tar.bz2
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
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
0 files changed, 0 insertions, 0 deletions