[PATCH] D46375: Update Error Message

Rumeet Dhindsa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 18:52:30 PDT 2018


rdhindsa created this revision.
rdhindsa added a reviewer: pcc.
Herald added subscribers: llvm-commits, eraman, arichardson, emaste.
Herald added a reviewer: espindola.

Update Error Message since windows generates capitalized error and linux does not.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46375

Files:
  lld/test/ELF/lto/thinlto.ll


Index: lld/test/ELF/lto/thinlto.ll
===================================================================
--- lld/test/ELF/lto/thinlto.ll
+++ lld/test/ELF/lto/thinlto.ll
@@ -31,7 +31,7 @@
 ; RUN: touch %t4.o.thinlto.bc
 ; RUN: chmod 400 %t4.o.thinlto.bc
 ; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t.o %t4.o -o %t5 2>&1 | FileCheck %s --check-prefix=ERR
-; ERR: failed to write {{.*}}4.o.thinlto.bc: Permission denied
+; ERR: failed to write {{.*}}4.o.thinlto.bc: {{P|p}}ermission denied
 
 ; First force single-threaded mode
 ; RUN: rm -f %t.lto.o %t1.lto.o


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46375.144971.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180503/cd0da4b9/attachment.bin>


More information about the llvm-commits mailing list