summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/ms_wide_predefined_expr.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-01-14 19:35:09 +0000
committerHans Wennborg <hans@hanshq.net>2014-01-14 19:35:09 +0000
commit11b1b8ab364cf98470b152fee49588a1fc737207 (patch)
tree779c4899081124f09297836620730593f16b8074 /test/CodeGenCXX/ms_wide_predefined_expr.cpp
parentb5df35cb550c18e23f23760ab4ded65c20389259 (diff)
Remove the -cxx-abi command-line flag.
This makes the C++ ABI depend entirely on the target: MS ABI for -win32 triples, Itanium otherwise. It's no longer possible to do weird combinations. To be able to run a test with a specific ABI without constraining it to a specific triple, new substitutions are added to lit: %itanium_abi_triple and %ms_abi_triple can be used to get the current target triple adjusted to the desired ABI. For example, if the test suite is running with the i686-pc-win32 target, %itanium_abi_triple will expand to i686-pc-mingw32. Differential Revision: http://llvm-reviews.chandlerc.com/D2545 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/ms_wide_predefined_expr.cpp')
-rw-r--r--test/CodeGenCXX/ms_wide_predefined_expr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/ms_wide_predefined_expr.cpp b/test/CodeGenCXX/ms_wide_predefined_expr.cpp
index f92486d6d3..b6af51991a 100644
--- a/test/CodeGenCXX/ms_wide_predefined_expr.cpp
+++ b/test/CodeGenCXX/ms_wide_predefined_expr.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 %s -fms-extensions -triple i686-pc-win32 -cxx-abi itanium -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -fms-extensions -triple i686-pc-win32 -emit-llvm -o - | FileCheck %s
-// CHECK: @L__FUNCTION__._Z4funcv = private constant [5 x i16] [i16 102, i16 117, i16 110, i16 99, i16 0], align 2
+// CHECK: @"L__FUNCTION__.?func@@YAXXZ" = private constant [5 x i16] [i16 102, i16 117, i16 110, i16 99, i16 0], align 2
void wprint(const wchar_t*);