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

Shankar Kalpathi Easwaran shankarke at gmail.com
Fri Jan 2 11:22:46 PST 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Core/Error.cpp:122
@@ +121,3 @@
+  return o;
+}
+
----------------
compnerd wrote:
> 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.
Sounds good then.

http://reviews.llvm.org/D6827

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






More information about the llvm-commits mailing list