[lld] r340590 - Attempt to fix ELF/lto-plugin-ignore.s on Windows after r340487.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 23 17:12:58 PDT 2018


Author: nico
Date: Thu Aug 23 17:12:58 2018
New Revision: 340590

URL: http://llvm.org/viewvc/llvm-project?rev=340590&view=rev
Log:
Attempt to fix ELF/lto-plugin-ignore.s on Windows after r340487.

I removed the ".exe" regex in the wrong place. lld-link in front of the
"error:" no longer has the suffix; the --plugin-opt diagnostic still has it.

Modified:
    lld/trunk/test/ELF/lto-plugin-ignore.s

Modified: lld/trunk/test/ELF/lto-plugin-ignore.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto-plugin-ignore.s?rev=340590&r1=340589&r2=340590&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto-plugin-ignore.s (original)
+++ lld/trunk/test/ELF/lto-plugin-ignore.s Thu Aug 23 17:12:58 2018
@@ -6,5 +6,5 @@
 # RUN:   -plugin-opt=-data-sections -plugin-opt=thinlto -o /dev/null
 
 # RUN: not ld.lld %t -plugin-opt=-abc -plugin-opt=-xyz 2>&1 | FileCheck %s
-# CHECK: error: --plugin-opt: ld.lld: Unknown command line argument '-abc'
-# CHECK: error: --plugin-opt: ld.lld: Unknown command line argument '-xyz'
+# CHECK: ld.lld: error: --plugin-opt: ld.lld{{.*}}: Unknown command line argument '-abc'
+# CHECK: ld.lld: error: --plugin-opt: ld.lld{{.*}}: Unknown command line argument '-xyz'




More information about the llvm-commits mailing list