summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/sections-va-overflow.test
Commit message (Collapse)AuthorAgeFilesLines
* [LLD][ELF] - Fix bug when reporting memory intersections.George Rimar2018-08-041-2/+2
| | | | | | | rangeToString() takes addres and length, previously it was called incorrectly. llvm-svn: 338956
* [ELF] - Restrict section offsets that exceeds file size.George Rimar2018-03-131-0/+22
This is part of PR36515. With some linkerscripts it is possible to get file offset overlaps and overflows. Currently LLD checks overlaps in checkNoOverlappingSections(). And also we allow broken output with --no-inhibit-exec. Problem is that sometimes final offset of sections is completely broken and we calculate output file size wrong and might crash. Patch implements check to verify that there is no output section which offset exceeds file size. Differential revision: https://reviews.llvm.org/D43819 llvm-svn: 327376
OpenPOWER on IntegriCloud