[ELF] Allow colons in the path.

This patch should fix the test when it runs on Windows, by allowing drive
letter separator (colon) in the path. Now all LLD ELF tests passed on MSVC
2012 32-bit. Hooray!

llvm-svn: 193978
This commit is contained in:
Rui Ueyama 2013-11-04 04:30:37 +00:00
parent b2504bdc0d
commit 2c717faa19
1 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ RUN: %p/Inputs/shared.so-x86-64 -o %t -e main -shared \
RUN: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
RUN: FileCheck -check-prefix=SHLIB %s < %t2
EXEC: Undefined Symbol: {{[-_A-Za-z0-9.\\/]+}}shared.so-x86-64 : puts
SHLIB: Undefined Symbol: {{[-_A-Za-z0-9.\\/]+}}shared.so-x86-64 : puts
EXEC-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/]+}}shared.so-x86-64 : weakfoo
SHLIB-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/]+}}shared.so-x86-64 : weakfoo
EXEC: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
SHLIB: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : puts
EXEC-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo
SHLIB-NOT: Undefined Symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64 : weakfoo