[PATCH] D51021: ABI-Testsuite: Force the old c++11 ABI in mangling/test.xpp

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 20 19:06:05 PDT 2018


tstellar created this revision.
tstellar added a reviewer: Sunil_Srivastava.

The check lines for this test assume the old c++11 ABI.

This resolved PR33132.


Repository:
  rT test-suite

https://reviews.llvm.org/D51021

Files:
  ABI-Testsuite/test/mangling/test.xpp


Index: ABI-Testsuite/test/mangling/test.xpp
===================================================================
--- ABI-Testsuite/test/mangling/test.xpp
+++ ABI-Testsuite/test/mangling/test.xpp
@@ -1,6 +1,6 @@
 // This file is distributed under the University of Illinois Open Source License.
 // See LICENSE.TXT for details.
-// RUN: cxx_compiler cxx_11 -c %s -o %t.o
+// RUN: cxx_compiler cxx_11 -D_GLIBCXX_USE_CXX11_ABI=0 -c %s -o %t.o
 // RUN: bindump %t.o | FileCheck -allow-deprecated-dag-overlap prefixes %s
 
 #include <cstddef>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51021.161633.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180821/746446eb/attachment.bin>


More information about the llvm-commits mailing list