[PATCH] D50998: [LLD] [COFF] Check the instructions in ARM MOV32T relocations

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 24 13:40:31 PDT 2018


efriedma added a comment.

This clearly isn't a substitute for catching this issue in the asm parser; LLVM shouldn't generate invalid object files.  That said, it seems reasonable for the linker to check the input is sane.  (Probably the testcase should use yaml2obj so it doesn't break when we fix LLVM.)


https://reviews.llvm.org/D50998





More information about the llvm-commits mailing list