[PATCH] D18388: [AArch64] Replace some uses of report_fatal_error with reportError in AArch64 ELF object writer

Oliver Stannard via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 05:40:04 PDT 2016

olista01 removed rL LLVM as the repository for this revision.
olista01 updated this revision to Diff 51401.
olista01 added a comment.

The ADR and MOVK/Z fixups are quite accurately checked during operand parsing, but I have managed to find a few cases where invalid ldr/str immediates get through to here.

This function only checks the type of relocation, not the range. I've found some cases where out-of-range relocations hit report_fatal_error in adjustFixupValue, but that's a separate issue (that I'll look at next).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18388.51401.patch
Type: text/x-patch
Size: 6773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160323/8ffc0d8b/attachment.bin>

More information about the llvm-commits mailing list