diff options
| author | Peter Smith <peter.smith@linaro.org> | 2017-01-24 10:43:40 +0000 |
|---|---|---|
| committer | Peter Smith <peter.smith@linaro.org> | 2017-01-24 10:43:40 +0000 |
| commit | ccb34efa92f74a54d44e8109f5d2f0b55db9ee4a (patch) | |
| tree | 51aa5ef41ca811c67064cd1c217c8c28b5feac96 /lldb/packages/Python/lldbsuite/test/python_api | |
| parent | dbcc04a5fa5b97105b3e9910e65f7e870e5297b3 (diff) | |
| download | bcm5719-llvm-ccb34efa92f74a54d44e8109f5d2f0b55db9ee4a.tar.gz bcm5719-llvm-ccb34efa92f74a54d44e8109f5d2f0b55db9ee4a.zip | |
[ELF] Correct sh_info for static symbol table
The sh_info field of the SHT_SYMTAB section holds the index for the
first non-local symbol. When there are global symbols that are output
with STB_LOCAL binding due to having hidden visibility or matching
the local version from a version script, the calculated value of
NumLocals + 1 does not account for them. This change accounts for
global symbols being output with local binding.
Differential Revision: https://reviews.llvm.org/D28950
llvm-svn: 292910
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions

