| commit | 55865432b428a80c818e52ce506d8dd98657b1f5 | [log] [tgz] |
|---|---|---|
| author | Peter Smith <peter.smith@linaro.org> | Mon Feb 20 11:12:33 2017 +0000 |
| committer | Peter Smith <peter.smith@linaro.org> | Mon Feb 20 11:12:33 2017 +0000 |
| tree | 55555a438d50becc09885bec25f4dbbb3be5c591 | |
| parent | e22a79e89810d514bbe43ce8fcc183ae4b2e4d29 [diff] |
[ELF] Allow local symbols to be added after global symbols
This change moves the SymbolBodies with isLocal() == true before the global
symbols then calculating NumLocals rather than assuming all locals are
added before globals and the first NumLocals have isLocal() == true. This
permits Thunks to be moved after the pass that adds global symbols from
synthetics to the symbol table.
Differential revision: https://reviews.llvm.org/D30085
llvm-svn: 295650