[PATCH] D14957: [ELF/AArch64] Fix overflow checks for R_AARCH64_{ABS, PREL}{16, 32} relocations.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 19:06:32 PST 2015


ikudrin updated this revision to Diff 41105.
ikudrin added a comment.

- Rebase to the top.
- Rename checkIsIntOrUInt -> checkIntUInt, update the body.
- Fix tests.


http://reviews.llvm.org/D14957

Files:
  ELF/Target.cpp
  test/ELF/Inputs/abs255.s
  test/ELF/Inputs/abs256.s
  test/ELF/Inputs/abs257.s
  test/ELF/aarch64-abs16-error.s
  test/ELF/aarch64-abs16.s
  test/ELF/aarch64-abs32-error.s
  test/ELF/aarch64-abs32.s
  test/ELF/aarch64-data-relocs.s
  test/ELF/aarch64-prel16-error.s
  test/ELF/aarch64-prel16.s
  test/ELF/aarch64-prel32-error.s
  test/ELF/aarch64-prel32.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14957.41105.patch
Type: text/x-patch
Size: 10828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/4fbd2b22/attachment.bin>


More information about the llvm-commits mailing list