[lld] r280797 - [ELF] - Enable testcases that uses demangler to run under windows and escape quotes around "C++".
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 02:59:30 PDT 2016
Author: grimar
Date: Wed Sep 7 04:59:29 2016
New Revision: 280797
URL: http://llvm.org/viewvc/llvm-project?rev=280797&view=rev
Log:
[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.
Modified:
lld/trunk/test/ELF/version-script-extern-wildcards.s
lld/trunk/test/ELF/version-script-extern.s
Modified: lld/trunk/test/ELF/version-script-extern-wildcards.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-script-extern-wildcards.s?rev=280797&r1=280796&r2=280797&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-script-extern-wildcards.s (original)
+++ lld/trunk/test/ELF/version-script-extern-wildcards.s Wed Sep 7 04:59:29 2016
@@ -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: }; \
Modified: lld/trunk/test/ELF/version-script-extern.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/version-script-extern.s?rev=280797&r1=280796&r2=280797&view=diff
==============================================================================
--- lld/trunk/test/ELF/version-script-extern.s (original)
+++ lld/trunk/test/ELF/version-script-extern.s Wed Sep 7 04:59:29 2016
@@ -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
More information about the llvm-commits
mailing list