Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ee69f2

Browse files
xingxue-ibmtru
authored andcommitted
[NFC][libc++][libc++abi][libunwind][test] Fix/unify AIX triples used in LIT tests (llvm#101196)
This patch fixes/unifies AIX target triples used in libc++, libc++abi, and libunwind LIT tests. (cherry picked from commit 2d36550)
1 parent 39e8e77 commit 3ee69f2

8 files changed

+8
-8
lines changed

libcxx/test/libcxx/vendor/ibm/bad_function_call.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: target={{powerpc.*-ibm-aix.*}}
9+
// REQUIRES: target={{.+}}-aix{{.*}}
1010
// ADDITIONAL_COMPILE_FLAGS: -fvisibility-inlines-hidden
1111

1212
// When there is a weak hidden symbol in user code and a strong definition

libcxxabi/test/vendor/ibm/aix_xlclang_nested_excp_32.pass.sh.s

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Test that a nested exception is thrown by a destructor inside a try-block
1010
# when the code is generated by the legacy AIX xlclang compiler.
1111

12-
# REQUIRES: target=powerpc-ibm-aix
12+
# REQUIRES: target=powerpc-ibm-aix{{.*}}
1313
# UNSUPPORTED: no-exceptions
1414

1515
# RUN: %{cxx} %{flags} %s %{link_flags} \

libcxxabi/test/vendor/ibm/aix_xlclang_nested_excp_64.pass.sh.s

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Test that a nested exception is thrown by a destructor inside a try-block
99
# when the code is generated by the legacy AIX xlclang compiler.
1010

11-
# REQUIRES: target=powerpc64-ibm-aix
11+
# REQUIRES: target=powerpc64-ibm-aix{{.*}}
1212
# UNSUPPORTED: no-exceptions
1313

1414
# RUN: %{cxx} %{flags} %s %{link_flags} \

libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_32.pass.sh.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// xlclang++ compiler included in this file. This file tests for the 32-bit
1515
// mode.
1616

17-
# REQUIRES: target=powerpc-ibm-aix
17+
# REQUIRES: target=powerpc-ibm-aix{{.*}}
1818
# UNSUPPORTED: no-exceptions
1919

2020
// RUN: %{cxx} -c %s -o %t1_32.o -DT1_CPP_CODE %{flags} %{compile_flags}

libcxxabi/test/vendor/ibm/aix_xlclang_passing_excp_obj_64.pass.sh.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// xlclang++ compiler included in this file. This file tests for the 64-bit
1515
// mode.
1616

17-
# REQUIRES: target=powerpc64-ibm-aix
17+
# REQUIRES: target=powerpc64-ibm-aix{{.*}}
1818
# UNSUPPORTED: no-exceptions
1919

2020
// RUN: %{cxx} -c %s -o %t1_64.o -DT1_CPP_CODE %{flags} %{compile_flags}

libcxxabi/test/vendor/ibm/cond_reg_restore.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// on AIX. Option -O3 is required so that the compiler will re-use the value
1111
// in the condition register instead of re-evaluating the condition expression.
1212

13-
// REQUIRES: target=powerpc{{(64)?}}-ibm-aix
13+
// REQUIRES: target={{.+}}-aix{{.*}}
1414
// ADDITIONAL_COMPILE_FLAGS: -O3
1515
// UNSUPPORTED: no-exceptions
1616

libcxxabi/test/vendor/ibm/vec_reg_restore.pass.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Check that the PowerPC vector registers are restored properly during
1010
// unwinding. Option -mabi=vec-extabi is required to compile the test case.
1111

12-
// REQUIRES: target=powerpc{{(64)?}}-ibm-aix
12+
// REQUIRES: target={{.+}}-aix{{.*}}
1313
// ADDITIONAL_COMPILE_FLAGS: -mabi=vec-extabi
1414
// UNSUPPORTED: no-exceptions
1515

libunwind/test/aix_signal_unwind.pass.sh.S

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// a correct traceback when the function raising the signal does not save
1111
// the link register or does not store the stack back chain.
1212

13-
// REQUIRES: target=powerpc{{(64)?}}-ibm-aix{{.*}}
13+
// REQUIRES: target={{.+}}-aix{{.*}}
1414

1515
// Test when the function raising the signal does not save the link register
1616
// RUN: %{cxx} -x c++ %s -o %t.exe -DCXX_CODE %{flags} %{compile_flags}

0 commit comments

Comments
 (0)