[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 03:20:20 PDT 2016


olista01 created this revision.
olista01 added a reviewer: t.p.northover.
olista01 added a subscriber: llvm-commits.
olista01 set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

If we can't handle a relocation type, report it as an error in the source, rather than asserting. I've added a more descriptive message and a test for the only case of this that I've been able to trigger.

Repository:
  rL LLVM

http://reviews.llvm.org/D18388

Files:
  lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
  test/MC/AArch64/error-location.s

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


More information about the llvm-commits mailing list