[PATCH] [lld] ELF: Support detection of relocation errors during processing

Saleem Abdulrasool compnerd at compnerd.org
Fri Jan 2 11:11:03 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Core/Error.cpp:122
@@ +121,3 @@
+  return o;
+}
+
----------------
shankarke wrote:
> I think we should move this error category inside ELF. 
Is there a strong reason to do so?  I can see this error category being useful for the PE/COFF backend as well.  There are a few relocations in the ARM target that are limited, and it would be nice to be able to return an error instead of asserting that the target is in range.

http://reviews.llvm.org/D6827

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list