[PATCH] D25069: Fix PREL31 relocation on ARM

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 13:40:43 PDT 2016


peter.smith added a comment.

Apologies I'm not familiar with mcjit to know how to write a test for this. Speculating:

- To get a prel31 relocation that will fail there will need to be a negative offset. If the .arm.exidx section is after the executable code or any link to a .ARM.extab section in memory/file the offsets will be negative will show up problems.
- If there is anyway to test the top-bit of the relocated entry you should be able to detect it.


https://reviews.llvm.org/D25069





More information about the llvm-commits mailing list