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

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 12 10:37:27 PDT 2015


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





More information about the llvm-commits mailing list