[PATCH] D18545: [ELF] - Better diagnostics for linker script errors

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 06:19:44 PDT 2016


emaste added a subscriber: emaste.
emaste added a comment.

If you do display the full line and keep track of the column too then the "but got" can be removed from the message.

  .keep + { *(.keep) }
        ^
  test.script:3:7: error: ':' expected

Having at least the line number for now though would be a good help while testing the in-progress linker script support.


http://reviews.llvm.org/D18545





More information about the llvm-commits mailing list