summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-03-13 08:47:17 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-03-13 08:47:17 +0000
commit2313086726341dab02dc6381071327cb694eb57d (patch)
tree433d5fc6d24cc39f639516fcd479625fdc6fc0b7 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parent5612bb292c861f41c71abf2cb3e48fff93a3f34f (diff)
downloadbcm5719-llvm-2313086726341dab02dc6381071327cb694eb57d.tar.gz
bcm5719-llvm-2313086726341dab02dc6381071327cb694eb57d.zip
[ELF] - Restrict section offsets that exceeds file size.
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud