[PATCH] D12829: [LLD][COFF] Corrected error message if a section failed to load

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 13:23:46 PDT 2015


Submitted as r247531. Thanks!

On Sat, Sep 12, 2015 at 10:37 AM, Igor Kudrin <ikudrin.dev at gmail.com> wrote:

> ikudrin added a comment.
>
> Could you please commit it as I don't have write permissions?
>
>
> ================
> Comment at: lld/trunk/test/COFF/invalid-obj.test:4
> @@ +3,3 @@
> +
> +# CHECK: getSectionName failed: #1:
> +
> ----------------
> ruiu wrote:
> > Does this actually contain the trailing colon?
> The full message is "getSectionName failed: #1: Invalid data was
> encountered while parsing the file", but the last part comes from the other
> place, so I decided to not add it here to make the test less fragile.
>
>
> http://reviews.llvm.org/D12829
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150913/4ad73af8/attachment.html>


More information about the llvm-commits mailing list