summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/lto/internalize-exportdyn.ll
Commit message (Collapse)AuthorAgeFilesLines
* Reland "Change the X86 datalayout to add three address spacesAmy Huang2019-09-101-1/+1
| | | | | | | | | | for 32 bit signed, 32 bit unsigned, and 64 bit pointers." This reverts 57076d3199fc2b0af4a3736b7749dd5462cacda5. Original review at https://reviews.llvm.org/D64931. Review for added fix at https://reviews.llvm.org/D66843. llvm-svn: 371568
* Revert "Change the X86 datalayout to add three address spaces for 32 bit ↵Vlad Tsyrklevich2019-08-281-1/+1
| | | | | | | | | signed," This reverts commit r370083 because it caused check-lld failures on sanitizer-x86_64-linux-fast. llvm-svn: 370142
* Change the X86 datalayout to add three address spaces for 32 bit signed,Amy Huang2019-08-271-1/+1
| | | | | | 32 bit unsigned, and 64 bit pointers. llvm-svn: 370083
* [ELF] Remove -m argument to lld in test files. NFC.Sam Clegg2018-05-301-1/+1
| | | | | | | | | | | This should be correctly implied by the linker. This also makes the tests slightly easier to maintain and compare with the equivalent tests under for other platforms. Differential Revision: https://reviews.llvm.org/D47513 llvm-svn: 333567
* Set dso_local in lld.Rafael Espindola2018-01-161-4/+4
| | | | | | We were already doing this in gold, but not in lld. llvm-svn: 322572
* [ELF/LTO] Switch to the new resolution-based API.Davide Italiano2016-09-291-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D24492 llvm-svn: 282656
* ELF: Add a test showing that the new local_unnamed_addr attribute can permit ↵Peter Collingbourne2016-06-141-1/+6
| | | | | | | | | | internalization. Part of the fix for PR27553. Differential Revision: http://reviews.llvm.org/D20259 llvm-svn: 272711
* Internalize linkonce_odr more often.Rafael Espindola2016-04-211-2/+20
| | | | | | | | | | | | | | Since there is a copy in every translation unit that uses them, they can be omitted from the symbol table if the address is not significant. This still doesn't catch as many cases as the gold plugin. The difference is that we check canBeOmittedFromSymbolTable in each file and use lazy loading which limits what it can do. Gold checks it in the merged file. I think the correct way of getting the same results as gold is just to cache in the IR the result of canBeOmittedFromSymbolTable. llvm-svn: 267063
* Start adding support for internalizing shared libraries.Rafael Espindola2016-04-211-3/+8
| | | | llvm-svn: 267045
* [LTO] Don't internalize if --export-dynamic is passed.Davide Italiano2016-03-291-0/+19
We treat that in the same way we treat shared libraries. llvm-svn: 264698
OpenPOWER on IntegriCloud