summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/lto/linker-script-symbols-assign.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
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-3/+3
| | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
* [ELF] Remove -m argument to lld in test files. NFC.Sam Clegg2018-05-301-2/+2
| | | | | | | | | | | 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
* Run dos2unix in a few files. NFC.Rafael Espindola2018-01-301-7/+7
| | | | llvm-svn: 323793
* [ELF] - Define linkerscript symbols early.George Rimar2018-01-301-16/+7
| | | | | | | | | | | | | | | | Currently symbols assigned or created by linkerscript are not processed early enough. As a result it is not possible to version them or assign any other flags/properties. Patch creates Defined symbols for -defsym and linkerscript symbols early, so that issue from above can be addressed. It is based on Rafael Espindola's version of D38239 patch. Fixes PR34121. Differential revision: https://reviews.llvm.org/D41987 llvm-svn: 323729
* [ELF] - Remove wrong comment from testcase.George Rimar2017-09-261-2/+0
| | | | | | | | | | | | | | It was introduced by me in D37059. Comment was saying that Weak binding is incorrect for 'foo' symbol and that should be true for symbol in final output. But at that place LTO temporarily file was checked, where Weak binding for 'foo' is fine as LTO changes binding for 'LinkerRedefined' symbols internally to prevent IPO. Binding for 'foo' in final output is correctly set to Global and that tested just few lines below in the same testcase. llvm-svn: 314204
* [ELF] - LTO: do not optimize away symbols accessed from linkerscript.George Rimar2017-09-251-0/+50
Previously when BC file had global variable that was accessed from script, it was optimized away or inlined by IPO. In this patch I add symbols at left side of assignment expression as LinkerRedefined, what prevents optimization for them. Differential revision: https://reviews.llvm.org/D37059 llvm-svn: 314097
OpenPOWER on IntegriCloud