[ELF] - Enable testcases that uses demangler to run under windows and escape quotes around "C++".
Previously testcases were enabled only for shell.
r280733 added c++ itanium demangler to lld and we can enable them fully.
Also this change make quotes to be escaped:
extern "C++" -> extern \"C++\", which worked before just because we are dropping tokens
quotes internally at this moment.
llvm-svn: 280797
diff --git a/lld/test/ELF/version-script-extern-wildcards.s b/lld/test/ELF/version-script-extern-wildcards.s
index 0ef9c83..838f637 100644
--- a/lld/test/ELF/version-script-extern-wildcards.s
+++ b/lld/test/ELF/version-script-extern-wildcards.s
@@ -1,15 +1,15 @@
-# REQUIRES: shell
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "LIBSAMPLE_1.0 { \
# RUN: global: \
-# RUN: extern "C++" { \
+# RUN: extern \"C++\" { \
# RUN: foo*; \
# RUN: }; \
# RUN: }; \
# RUN: LIBSAMPLE_2.0 { \
# RUN: global: \
-# RUN: extern "C++" { \
+# RUN: extern \"C++\" { \
# RUN: zed*; \
# RUN: bar; \
# RUN: }; \
diff --git a/lld/test/ELF/version-script-extern.s b/lld/test/ELF/version-script-extern.s
index 4396534..220aded 100644
--- a/lld/test/ELF/version-script-extern.s
+++ b/lld/test/ELF/version-script-extern.s
@@ -1,17 +1,17 @@
-# REQUIRES: shell
+# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: echo "LIBSAMPLE_1.0 { \
# RUN: global: \
-# RUN: extern "C++" { \
-# RUN: \"foo(int)\"; \
-# RUN: \"zed(int)\"; \
+# RUN: extern \"C++\" { \
+# RUN: \"foo(int)\"; \
+# RUN: \"zed(int)\"; \
# RUN: }; \
# RUN: }; \
# RUN: LIBSAMPLE_2.0 { \
# RUN: global: \
-# RUN: extern "C++" { \
-# RUN: \"bar(int)\"; \
+# RUN: extern \"C++\" { \
+# RUN: \"bar(int)\"; \
# RUN: }; \
# RUN: }; " > %t.script
# RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so