[AIX] Disable tests failing due to missing DWARF sections
authorJake Egan <Jake.Egan@ibm.com>
Fri, 8 Oct 2021 16:06:25 +0000 (12:06 -0400)
committerJake Egan <Jake.Egan@ibm.com>
Fri, 8 Oct 2021 16:06:38 +0000 (12:06 -0400)
The following tests are failing due to missing DWARF sections. This patch sets these tests as XFAIL/DISABLED on AIX until a more permanent solution is implemented.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D111336

15 files changed:
clang/test/Modules/DebugInfoSubmoduleImport.c
llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll
llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll
llvm/test/DebugInfo/Generic/address_space_rvalue.ll
llvm/test/DebugInfo/Generic/debug-names-empty-name.ll
llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll
llvm/test/DebugInfo/Generic/debug-names-index-type.ll
llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll
llvm/test/DebugInfo/Generic/debug-names-many-cu.ll
llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll
llvm/test/DebugInfo/Generic/debug-names-one-cu.ll
llvm/test/DebugInfo/Generic/debug-names-two-cu.ll
llvm/test/DebugInfo/Generic/export-symbol-anonymous-class.ll
llvm/test/DebugInfo/Generic/string-offsets-form.ll
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

index b608d300d5febb94e6e838e98a3db2cf17979bfb..d8fbd4eb0775cebe4644ba56ebcbff2a123a6584 100644 (file)
@@ -1,3 +1,4 @@
+// XFAIL: -aix
 // RUN: rm -rf %t
 // RUN: %clang_cc1 -fmodules -fmodule-format=obj -debug-info-kind=limited -dwarf-ext-refs \
 // RUN:     -fimplicit-module-maps -x c -fmodules-cache-path=%t -I %S/Inputs \
index 77e4fa003865eb1609eac6c89164289150a16a19..44fabb5e09509f38a8d67e109f0b5a255d94d805 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -debugger-tune=lldb -asm-verbose -O1 -o - < %s | FileCheck %s
 ; RUN: %llc_dwarf -debugger-tune=gdb -asm-verbose -O1 -o - < %s | FileCheck %s --check-prefix=DISABLE
 ; RUN: %llc_dwarf -frame-pointer=all -debugger-tune=lldb -asm-verbose -O1 -o - < %s | FileCheck %s --check-prefix=DISABLE
index 2e321c90b142be59b2e0b01a059c49d8ad31eb89..f9c7da04c31e7726839abdfea647ea7a146518c0 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Apple -filetype=obj -o - < %s \
 ; RUN:   | llvm-dwarfdump -apple-names - | FileCheck %s
 
index 60e77a707b4ebbb7efd0173acb5b88d2a3551294..e9e91c267f7331a7f8bdf2c72bb771907a37a206 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
 
 ; This nonsensical example tests that address spaces for rvalue
index 0a7b34c16281d1375e6f17990bf80499ae547fce..f578f913921740bb2fa8443487b3aea6d25caa80 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -debugger-tune=lldb -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -find=_GLOBAL__sub_I__ %t | FileCheck --check-prefix=INFO %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=NAMES %s
index c105701d95bd1a46c1049b41553f3628377101aa..42c361ab8f15c441fc757b4493b05b70407b3241 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index c72b013f4d780d9e5eefb64855e301949e569d06..03af245c1d79ea0dc42f37ed6aafb88f19fc66c6 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index d8c1619871c97bf094e60a36302788cf5e348d9e..7b749f8c7f4d5b2fb73c1da179587985935ad83a 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; Generate one file with all linkage names, and another with only abstract ones.
 ; Then test both.
 ; RUN: %llc_dwarf -accel-tables=Dwarf -dwarf-linkage-names=All -filetype=obj -o %t.All < %s
index 0171a87a47df38c9baeec5d4296358c9b7430aa6..c15fd4dc8ae4bea64f4d5f037c9a773e131926e1 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index 6b634e7d37f5558e22bdcda36b0848dd31889ce6..82f4550b76190a7f6d0d305bd13e632fb4c12460 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -dwarf-linkage-names=All -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index 20a6b708cb7386a68d82c481c567fcd9e36edbda..dbe3d79b837acbc1499dd86d32d5cefd9a541089 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index 8900e1d6419dbb279c293bfd7d29931bc92aac44..1563c87ee0416840ff2e57e71bba529134da1799 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s
 ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
index e76e6b55e69c4e6e812a7d215dd7e9357aabc15b..c01ce9266f1a08cb64da6715c6948e9ecb1711ea 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
 ;
 ; struct A {
index 1575974602d8c9355e606d4bce0b0699f4f213da..88fdc6a6a974c22188e0dcbfa7d40edc411dcbd5 100644 (file)
@@ -1,3 +1,4 @@
+; XFAIL: -aix
 ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -all -show-form -v - \
 ; RUN:   | FileCheck %s
 ;
index 5560e7e52473eb32d0f4fe19c39ec54d269479cb..2787297d1aaa67976d1cf9d8011ca75662c68441 100644 (file)
@@ -437,7 +437,11 @@ TEST(DWARFDebugInfo, TestDWARF32Version4Addr8AllForms) {
   TestAllForms<4, AddrType, RefAddrType>();
 }
 
+#ifdef _AIX
+TEST(DWARFDebigInfo, DISABLED_TestDWARF32Version5Addr4AllForms) {
+#else
 TEST(DWARFDebugInfo, TestDWARF32Version5Addr4AllForms) {
+#endif
   // Test that we can decode all forms for DWARF32, version 5, with 4 byte
   // addresses.
   typedef uint32_t AddrType;
@@ -446,7 +450,11 @@ TEST(DWARFDebugInfo, TestDWARF32Version5Addr4AllForms) {
   TestAllForms<5, AddrType, RefAddrType>();
 }
 
+#ifdef _AIX
+TEST(DWARFDebigInfo, DISABLED_TestDWARF32Version5Addr8AllForms) {
+#else
 TEST(DWARFDebugInfo, TestDWARF32Version5Addr8AllForms) {
+#endif
   // Test that we can decode all forms for DWARF32, version 5, with 8 byte
   // addresses.
   typedef uint64_t AddrType;
@@ -1007,7 +1015,11 @@ TEST(DWARFDebugInfo, TestDWARF32Version4Addr8Addresses) {
   TestAddresses<4, AddrType>();
 }
 
+#ifdef _AIX
+TEST(DWARFDebugInfo, DISABLED_TestStringOffsets) {
+#else
 TEST(DWARFDebugInfo, TestStringOffsets) {
+#endif
   Triple Triple = getNormalizedDefaultTargetTriple();
   if (!isObjectEmissionSupported(Triple))
     return;