[PATCH] D30187: [ELF] - Improve diagnostic messages for move location counter errors.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 00:42:35 PST 2017


grimar created this revision.

Previously LLD would error out just "ld.lld: error: unable to move location counter backward"
What does not really reveal the place of issue,
Patch adds location to the output.


https://reviews.llvm.org/D30187

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  test/ELF/linkerscript/locationcountererr.s
  test/ELF/linkerscript/locationcountererr2.s
  test/ELF/linkerscript/out-of-order.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30187.89169.patch
Type: text/x-patch
Size: 4580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170221/48d58037/attachment.bin>


More information about the llvm-commits mailing list