[PATCH] [05/10] ELF/AArch64: Check ADR_PREL_PG_HI21 for overflow

Adhemerval Zanella adhemerval.zanella at linaro.org
Tue Apr 7 07:27:59 PDT 2015


Hi ruiu, shankar.easwaran,

Hi ruiu, shankarke,

This is re-post of a previous attempt.   Add support for overflow checking when processing R_AARCH64_ADR_PREL_PG_HI21 relocations and add test.

Patch Will Newton.

http://reviews.llvm.org/D8864

Files:
  lib/ReaderWriter/ELF/AArch64/AArch64RelocationHandler.cpp
  test/elf/AArch64/rel-adr_prel_pg_hi21-overflow.test
  test/elf/AArch64/rel-adr_prel_pg_hi21.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8864.23331.patch
Type: text/x-patch
Size: 4174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150407/28c095fd/attachment.bin>


More information about the llvm-commits mailing list