summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize/cpp-new-array.ll
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-05-10 14:23:33 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-05-10 14:23:33 +0000
commit608cf670848ebe75654d4ee9e05a54a966b4a729 (patch)
tree5e8377d376123b4690bdfbe4d27e97337bac08a4 /llvm/test/Transforms/LoopVectorize/cpp-new-array.ll
parent93b369ed11768a7106ae0a1c1a5529a9ccc659e1 (diff)
downloadbcm5719-llvm-608cf670848ebe75654d4ee9e05a54a966b4a729.tar.gz
bcm5719-llvm-608cf670848ebe75654d4ee9e05a54a966b4a729.zip
[ELF] - Don't segfault when assigning non-calculatable absolute symbol value.
This is PR32664. Issue was revealed by linux kernel script which was: SECTIONS { . = (0xffffffff80000000 + ALIGN(0x1000000, 0x200000)); phys_startup_64 = ABSOLUTE(startup_64 - 0xffffffff80000000); .text : AT(ADDR(.text) - 0xffffffff80000000) { ..... *(.head.text) Where startup_64 is in .head.text. At the place of assignment to phys_startup_64 we can not calculate absolute value for startup_64 because .text section has no VA assigned. Two patches were prepared earlier to address this: D32173 and D32174. And in comments for D32173 was suggested not try to support this case, but error out. Differential revision: https://reviews.llvm.org/D32793 llvm-svn: 302668
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/cpp-new-array.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud