summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-07-07 23:43:09 +0000
committerRui Ueyama <ruiu@google.com>2016-07-07 23:43:09 +0000
commitf731d0afed53347c0a4818247a63a7d41a1c0071 (patch)
tree8227d2108c9f1522ef3328cadf4be9399ae22b52
parent6d3eecc84304c0b36ed5f1ababa22cd974de1f5b (diff)
downloadbcm5719-llvm-f731d0afed53347c0a4818247a63a7d41a1c0071.tar.gz
bcm5719-llvm-f731d0afed53347c0a4818247a63a7d41a1c0071.zip
Test --demangle feature.
Previously, it was not tested because the test was written in a way that it passed on a platform that does not support abi::__cxa_demangle. Now we restrict this test to Unix (by adding "REQUIRES: shell") and assume that it always demangle symbols. Thanks to Davide to find out the issue. llvm-svn: 274808
-rw-r--r--lld/test/ELF/conflict.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/conflict.s b/lld/test/ELF/conflict.s
index 93e07e9da20..7598eea3711 100644
--- a/lld/test/ELF/conflict.s
+++ b/lld/test/ELF/conflict.s
@@ -1,9 +1,9 @@
-# REQUIRES: x86
+# REQUIRES: x86, shell
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
# RUN: not ld.lld %t1.o %t1.o -o %t2 2>&1 | FileCheck -check-prefix=DEMANGLE %s
-# DEMANGLE: duplicate symbol: {{mul\(double, double\)|_Z3muldd}} in
+# DEMANGLE: duplicate symbol: mul(double, double) in
# DEMANGLE: duplicate symbol: foo in
# RUN: not ld.lld %t1.o %t1.o -o %t2 --no-demangle 2>&1 | \
OpenPOWER on IntegriCloud