forked from OSchip/llvm-project
[AIX] Disable tests failing due to missing DWARF sections
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
This commit is contained in:
parent
ff3b542e7c
commit
8037481cb2
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
; XFAIL: -aix
|
||||
; RUN: %llc_dwarf -accel-tables=Apple -filetype=obj -o - < %s \
|
||||
; RUN: | llvm-dwarfdump -apple-names - | FileCheck %s
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
; XFAIL: -aix
|
||||
; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s
|
||||
;
|
||||
; struct A {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
; XFAIL: -aix
|
||||
; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -all -show-form -v - \
|
||||
; RUN: | FileCheck %s
|
||||
;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue