[lld] r372852 - [LLD] Fix testcase from SVN r372843 if executed on windows

Martin Storsjo via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 05:07:50 PDT 2019


Author: mstorsjo
Date: Wed Sep 25 05:07:50 2019
New Revision: 372852

URL: http://llvm.org/viewvc/llvm-project?rev=372852&view=rev
Log:
[LLD] Fix testcase from SVN r372843 if executed on windows

This should fix buildbot errors like this one:
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/10997

Modified:
    lld/trunk/test/COFF/undefined-symbol-dwarf.s

Modified: lld/trunk/test/COFF/undefined-symbol-dwarf.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/undefined-symbol-dwarf.s?rev=372852&r1=372851&r2=372852&view=diff
==============================================================================
--- lld/trunk/test/COFF/undefined-symbol-dwarf.s (original)
+++ lld/trunk/test/COFF/undefined-symbol-dwarf.s Wed Sep 25 05:07:50 2019
@@ -3,11 +3,11 @@
 # RUN: not lld-link /lldmingw /out:%t.exe %t.o /entry:entry 2>&1 | FileCheck %s
 
 # CHECK: error: undefined symbol: bar()
-# CHECK-NEXT: >>> referenced by /path/to/src/undef.cpp:17
+# CHECK-NEXT: >>> referenced by /path/to/src{{[/\\]}}undef.cpp:17
 # CHECK-NEXT: >>>               {{.*}}.o:(entry)
 # CHECK-EMPTY:
 # CHECK-NEXT: error: undefined symbol: foo()
-# CHECK-NEXT: >>> referenced by /path/to/src/undef.cpp:7
+# CHECK-NEXT: >>> referenced by /path/to/src{{[/\\]}}undef.cpp:7
 # CHECK-NEXT: >>>               {{.*}}.o:(A::afunc())
 
         .text




More information about the llvm-commits mailing list