summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2015-01-10 02:34:26 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2015-01-10 02:34:26 +0000
commitfcf77fd369b907442825c0a24fa1906e2116542f (patch)
tree3a28030ed5e187c3c75bb6e6e35cde43264036ed
parent654346e6f9a85a297db50bfa4867b4114e6f7228 (diff)
downloadbcm5719-llvm-fcf77fd369b907442825c0a24fa1906e2116542f.tar.gz
bcm5719-llvm-fcf77fd369b907442825c0a24fa1906e2116542f.zip
Don't fail if parent directory name contains a '+' character
Differential Revision: http://reviews.llvm.org/D6902 llvm-svn: 225574
-rw-r--r--lld/test/elf/dynamic-undef.test8
-rw-r--r--lld/test/elf/filenotfound.test2
2 files changed, 5 insertions, 5 deletions
diff --git a/lld/test/elf/dynamic-undef.test b/lld/test/elf/dynamic-undef.test
index 4b3338dfc55..7f57d38c0fb 100644
--- a/lld/test/elf/dynamic-undef.test
+++ b/lld/test/elf/dynamic-undef.test
@@ -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: llvm-readobj -symbols %t.useundefines | FileCheck -check-prefix=SHLIB-UNDEF-SYMBOLS %s
-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
SHLIB-NOUNDEF-NOT: Name: puts
SHLIB-UNDEF-SYMBOLS: Name: puts
diff --git a/lld/test/elf/filenotfound.test b/lld/test/elf/filenotfound.test
index a5b623faec8..00ac699c167 100644
--- a/lld/test/elf/filenotfound.test
+++ b/lld/test/elf/filenotfound.test
@@ -1,3 +1,3 @@
# 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
-#CHECK: lld: cannot find file {{[-_A-Za-z0-9.\\/:]+}}nofile.o
+#CHECK: lld: cannot find file {{[+-_A-Za-z0-9.\\/:]+}}nofile.o
OpenPOWER on IntegriCloud