diff --git a/clang/test/Modules/DebugInfoSubmoduleImport.c b/clang/test/Modules/DebugInfoSubmoduleImport.c --- a/clang/test/Modules/DebugInfoSubmoduleImport.c +++ b/clang/test/Modules/DebugInfoSubmoduleImport.c @@ -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 \ diff --git a/llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll b/llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll --- a/llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll +++ b/llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll b/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll --- a/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll +++ b/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -accel-tables=Apple -filetype=obj -o - < %s \ ; RUN: | llvm-dwarfdump -apple-names - | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/address_space_rvalue.ll b/llvm/test/DebugInfo/Generic/address_space_rvalue.ll --- a/llvm/test/DebugInfo/Generic/address_space_rvalue.ll +++ b/llvm/test/DebugInfo/Generic/address_space_rvalue.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll b/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll --- a/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll b/llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll --- a/llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-index-type.ll b/llvm/test/DebugInfo/Generic/debug-names-index-type.ll --- a/llvm/test/DebugInfo/Generic/debug-names-index-type.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-index-type.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll b/llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll --- a/llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-many-cu.ll b/llvm/test/DebugInfo/Generic/debug-names-many-cu.ll --- a/llvm/test/DebugInfo/Generic/debug-names-many-cu.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-many-cu.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll b/llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll --- a/llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-one-cu.ll b/llvm/test/DebugInfo/Generic/debug-names-one-cu.ll --- a/llvm/test/DebugInfo/Generic/debug-names-one-cu.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-one-cu.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/debug-names-two-cu.ll b/llvm/test/DebugInfo/Generic/debug-names-two-cu.ll --- a/llvm/test/DebugInfo/Generic/debug-names-two-cu.ll +++ b/llvm/test/DebugInfo/Generic/debug-names-two-cu.ll @@ -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 diff --git a/llvm/test/DebugInfo/Generic/export-symbol-anonymous-class.ll b/llvm/test/DebugInfo/Generic/export-symbol-anonymous-class.ll --- a/llvm/test/DebugInfo/Generic/export-symbol-anonymous-class.ll +++ b/llvm/test/DebugInfo/Generic/export-symbol-anonymous-class.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; ; struct A { diff --git a/llvm/test/DebugInfo/Generic/string-offsets-form.ll b/llvm/test/DebugInfo/Generic/string-offsets-form.ll --- a/llvm/test/DebugInfo/Generic/string-offsets-form.ll +++ b/llvm/test/DebugInfo/Generic/string-offsets-form.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -all -show-form -v - \ ; RUN: | FileCheck %s ; diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -437,7 +437,11 @@ 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 @@ 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 @@ TestAddresses<4, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestStringOffsets) { +#else TEST(DWARFDebugInfo, TestStringOffsets) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return;