From: George Rimar Date: Wed, 7 Sep 2016 09:59:29 +0000 (+0000) Subject: [ELF] - Enable testcases that uses demangler to run under windows and escape quotes... X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8825a5c6ef4d095b51da218fbc10a14d1672d12e;p=platform%2Fupstream%2Fllvm.git [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