forked from OSchip/llvm-project
Don't fail if parent directory name contains a '+' character
Differential Revision: http://reviews.llvm.org/D6902 llvm-svn: 225574
This commit is contained in:
parent
654346e6f9
commit
fcf77fd369
|
@ -26,9 +26,9 @@ RUN: %p/Inputs/shared.so-x86-64 -o %t.useundefines -e main -shared \
|
||||||
RUN: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
|
RUN: --use-shlib-undefines --no-allow-shlib-undefined 2> %t2
|
||||||
RUN: llvm-readobj -symbols %t.useundefines | FileCheck -check-prefix=SHLIB-UNDEF-SYMBOLS %s
|
RUN: llvm-readobj -symbols %t.useundefines | FileCheck -check-prefix=SHLIB-UNDEF-SYMBOLS %s
|
||||||
|
|
||||||
EXEC: Undefined symbol: {{[-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
|
EXEC: Undefined symbol: {{[+-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: puts
|
||||||
SHLIB: 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
|
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
|
SHLIB-NOT: Undefined symbol: {{[+-_A-Za-z0-9.\\/:]+}}shared.so-x86-64: weakfoo
|
||||||
SHLIB-NOUNDEF-NOT: Name: puts
|
SHLIB-NOUNDEF-NOT: Name: puts
|
||||||
SHLIB-UNDEF-SYMBOLS: Name: puts
|
SHLIB-UNDEF-SYMBOLS: Name: puts
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# Check that a file that cannot be found results in a proper error message
|
# Check that a file that cannot be found results in a proper error message
|
||||||
RUN: not lld -flavor gnu -target x86_64 %p/Inputs/nofile.o 2>&1 | FileCheck %s
|
RUN: not lld -flavor gnu -target x86_64 %p/Inputs/nofile.o 2>&1 | FileCheck %s
|
||||||
#CHECK: lld: cannot find file {{[-_A-Za-z0-9.\\/:]+}}nofile.o
|
#CHECK: lld: cannot find file {{[+-_A-Za-z0-9.\\/:]+}}nofile.o
|
||||||
|
|
Loading…
Reference in New Issue