diff --git a/clang/test/ClangScanDeps/modules-full-by-mod-name.cpp b/clang/test/ClangScanDeps/modules-full-by-mod-name.cpp --- a/clang/test/ClangScanDeps/modules-full-by-mod-name.cpp +++ b/clang/test/ClangScanDeps/modules-full-by-mod-name.cpp @@ -1,3 +1,4 @@ +// XFAIL: -aix // RUN: rm -rf %t.dir // RUN: rm -rf %t.cdb // RUN: mkdir -p %t.dir diff --git a/clang/test/ClangScanDeps/modules-pch.c b/clang/test/ClangScanDeps/modules-pch.c --- a/clang/test/ClangScanDeps/modules-pch.c +++ b/clang/test/ClangScanDeps/modules-pch.c @@ -1,3 +1,4 @@ +// XFAIL: -aix // RUN: rm -rf %t && mkdir %t // RUN: cp %S/Inputs/modules-pch/* %t diff --git a/clang/test/CodeGenCXX/crash.cpp b/clang/test/CodeGenCXX/crash.cpp --- a/clang/test/CodeGenCXX/crash.cpp +++ b/clang/test/CodeGenCXX/crash.cpp @@ -1,3 +1,4 @@ +// XFAIL: -aix // RUN: %clang_cc1 %s -std=c++11 -emit-llvm-only // RUN: %clang_cc1 -emit-obj -o %t -debug-info-kind=line-tables-only -std=c++11 %s // RUN: %clang_cc1 -emit-obj -o %t -debug-info-kind=line-directives-only -std=c++11 %s diff --git a/clang/test/Modules/DebugInfoSubmodules.c b/clang/test/Modules/DebugInfoSubmodules.c --- a/clang/test/Modules/DebugInfoSubmodules.c +++ b/clang/test/Modules/DebugInfoSubmodules.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/clang/test/Modules/ModuleDebugInfo.m b/clang/test/Modules/ModuleDebugInfo.m --- a/clang/test/Modules/ModuleDebugInfo.m +++ b/clang/test/Modules/ModuleDebugInfo.m @@ -1,3 +1,4 @@ +// XFAIL: -aix // Test that debug info is emitted for an Objective-C module and // a precompiled header. diff --git a/clang/test/Modules/lsv-debuginfo.cpp b/clang/test/Modules/lsv-debuginfo.cpp --- a/clang/test/Modules/lsv-debuginfo.cpp +++ b/clang/test/Modules/lsv-debuginfo.cpp @@ -1,3 +1,4 @@ +// XFAIL: -aix // Test C++ -gmodules debug info in the PCMs with local submodule visibility. // REQUIRES: asserts // RUN: rm -rf %t diff --git a/clang/test/PCH/debug-info-pch-container-path.c b/clang/test/PCH/debug-info-pch-container-path.c --- a/clang/test/PCH/debug-info-pch-container-path.c +++ b/clang/test/PCH/debug-info-pch-container-path.c @@ -1,3 +1,4 @@ +// XFAIL: -aix // REQUIRES: asserts // Modules: diff --git a/clang/test/PCH/debug-info-pch-path.c b/clang/test/PCH/debug-info-pch-path.c --- a/clang/test/PCH/debug-info-pch-path.c +++ b/clang/test/PCH/debug-info-pch-path.c @@ -1,3 +1,4 @@ +// XFAIL: -aix // RUN: rm -rf %t // RUN: mkdir %t // RUN: cd %t diff --git a/llvm/test/CodeGen/X86/dbg-distringtype-uint.ll b/llvm/test/CodeGen/X86/dbg-distringtype-uint.ll --- a/llvm/test/CodeGen/X86/dbg-distringtype-uint.ll +++ b/llvm/test/CodeGen/X86/dbg-distringtype-uint.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llc -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; ; CHECK: [[SYM:[a-z0-9]+]]: DW_TAG_formal_parameter diff --git a/llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll b/llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll --- a/llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll +++ b/llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Radar 7833483 ; Do not emit a separate out-of-line definition DIE for the function-local 'foo' diff --git a/llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll b/llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll --- a/llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll +++ b/llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; Check that two compile units are generated diff --git a/llvm/test/DebugInfo/Generic/DICommonBlock.ll b/llvm/test/DebugInfo/Generic/DICommonBlock.ll --- a/llvm/test/DebugInfo/Generic/DICommonBlock.ll +++ b/llvm/test/DebugInfo/Generic/DICommonBlock.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; CHECK: DW_TAG_common_block diff --git a/llvm/test/DebugInfo/Generic/PR20038.ll b/llvm/test/DebugInfo/Generic/PR20038.ll --- a/llvm/test/DebugInfo/Generic/PR20038.ll +++ b/llvm/test/DebugInfo/Generic/PR20038.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; For some reason, the output when targetting sparc is not quite as expected. ; XFAIL: sparc diff --git a/llvm/test/DebugInfo/Generic/constant-pointers.ll b/llvm/test/DebugInfo/Generic/constant-pointers.ll --- a/llvm/test/DebugInfo/Generic/constant-pointers.ll +++ b/llvm/test/DebugInfo/Generic/constant-pointers.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Ensure that pointer constants are emitted as unsigned data. Alternatively, diff --git a/llvm/test/DebugInfo/Generic/containing-type-extension.ll b/llvm/test/DebugInfo/Generic/containing-type-extension.ll --- a/llvm/test/DebugInfo/Generic/containing-type-extension.ll +++ b/llvm/test/DebugInfo/Generic/containing-type-extension.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/cross-cu-inlining.ll b/llvm/test/DebugInfo/Generic/cross-cu-inlining.ll --- a/llvm/test/DebugInfo/Generic/cross-cu-inlining.ll +++ b/llvm/test/DebugInfo/Generic/cross-cu-inlining.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck -implicit-check-not=DW_TAG %s ; RUN: %llc_dwarf -accel-tables=Apple -dwarf-linkage-names=All -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck --check-prefix=CHECK-ACCEL --check-prefix=CHECK %s diff --git a/llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll b/llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll --- a/llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll +++ b/llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Testing that two distinct (distinct by writing them in separate files, while diff --git a/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll b/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll --- a/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll +++ b/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Built from source: diff --git a/llvm/test/DebugInfo/Generic/cu-range-hole.ll b/llvm/test/DebugInfo/Generic/cu-range-hole.ll --- a/llvm/test/DebugInfo/Generic/cu-range-hole.ll +++ b/llvm/test/DebugInfo/Generic/cu-range-hole.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/cu-ranges.ll b/llvm/test/DebugInfo/Generic/cu-ranges.ll --- a/llvm/test/DebugInfo/Generic/cu-ranges.ll +++ b/llvm/test/DebugInfo/Generic/cu-ranges.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/dead-argument-order.ll b/llvm/test/DebugInfo/Generic/dead-argument-order.ll --- a/llvm/test/DebugInfo/Generic/dead-argument-order.ll +++ b/llvm/test/DebugInfo/Generic/dead-argument-order.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Built from the following source with clang -O1 diff --git a/llvm/test/DebugInfo/Generic/debug-info-enum.ll b/llvm/test/DebugInfo/Generic/debug-info-enum.ll --- a/llvm/test/DebugInfo/Generic/debug-info-enum.ll +++ b/llvm/test/DebugInfo/Generic/debug-info-enum.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; Test enumeration representation in DWARF debug info: ; * test value representation for each possible underlying integer type ; * test the integer type is as expected diff --git a/llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll b/llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll --- a/llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll +++ b/llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; Test (r)value qualifiers on C++11 non-static member functions. ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp ; diff --git a/llvm/test/DebugInfo/Generic/debug-label-inline.ll b/llvm/test/DebugInfo/Generic/debug-label-inline.ll --- a/llvm/test/DebugInfo/Generic/debug-label-inline.ll +++ b/llvm/test/DebugInfo/Generic/debug-label-inline.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s ; ; Bug 47129 diff --git a/llvm/test/DebugInfo/Generic/debug-label.ll b/llvm/test/DebugInfo/Generic/debug-label.ll --- a/llvm/test/DebugInfo/Generic/debug-label.ll +++ b/llvm/test/DebugInfo/Generic/debug-label.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s ; ; CHECK: .debug_info contents: diff --git a/llvm/test/DebugInfo/Generic/def-line.ll b/llvm/test/DebugInfo/Generic/def-line.ll --- a/llvm/test/DebugInfo/Generic/def-line.ll +++ b/llvm/test/DebugInfo/Generic/def-line.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s ; Given the following source, ensure that the decl_line/file is correctly diff --git a/llvm/test/DebugInfo/Generic/discriminated-union.ll b/llvm/test/DebugInfo/Generic/discriminated-union.ll --- a/llvm/test/DebugInfo/Generic/discriminated-union.ll +++ b/llvm/test/DebugInfo/Generic/discriminated-union.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/discriminator.ll b/llvm/test/DebugInfo/Generic/discriminator.ll --- a/llvm/test/DebugInfo/Generic/discriminator.ll +++ b/llvm/test/DebugInfo/Generic/discriminator.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s ; Given the following source, ensure that the discriminator is emitted for diff --git a/llvm/test/DebugInfo/Generic/disubrange_vla.ll b/llvm/test/DebugInfo/Generic/disubrange_vla.ll --- a/llvm/test/DebugInfo/Generic/disubrange_vla.ll +++ b/llvm/test/DebugInfo/Generic/disubrange_vla.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: rm -rf %t %t2 ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -name=vla_expr %t > %t2 diff --git a/llvm/test/DebugInfo/Generic/disubrange_vla_no_dbgvalue.ll b/llvm/test/DebugInfo/Generic/disubrange_vla_no_dbgvalue.ll --- a/llvm/test/DebugInfo/Generic/disubrange_vla_no_dbgvalue.ll +++ b/llvm/test/DebugInfo/Generic/disubrange_vla_no_dbgvalue.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: rm -rf %t %t2 ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -verbose -name=vla %t > %t2 diff --git a/llvm/test/DebugInfo/Generic/dwarf-public-names.ll b/llvm/test/DebugInfo/Generic/dwarf-public-names.ll --- a/llvm/test/DebugInfo/Generic/dwarf-public-names.ll +++ b/llvm/test/DebugInfo/Generic/dwarf-public-names.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -debugger-tune=gdb -filetype=obj -o %t.o < %s ; RUN: llvm-dwarfdump -debug-pubnames %t.o | FileCheck %s ; ModuleID = 'dwarf-public-names.cpp' diff --git a/llvm/test/DebugInfo/Generic/empty.ll b/llvm/test/DebugInfo/Generic/empty.ll --- a/llvm/test/DebugInfo/Generic/empty.ll +++ b/llvm/test/DebugInfo/Generic/empty.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s ; RUN: %llc_dwarf -split-dwarf-file=foo.dwo < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck --check-prefix=FISSION %s diff --git a/llvm/test/DebugInfo/Generic/enum-types.ll b/llvm/test/DebugInfo/Generic/enum-types.ll --- a/llvm/test/DebugInfo/Generic/enum-types.ll +++ b/llvm/test/DebugInfo/Generic/enum-types.ll @@ -1,4 +1,4 @@ -; +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Make sure we can handle enums with the same identifier but in enum types of diff --git a/llvm/test/DebugInfo/Generic/enum.ll b/llvm/test/DebugInfo/Generic/enum.ll --- a/llvm/test/DebugInfo/Generic/enum.ll +++ b/llvm/test/DebugInfo/Generic/enum.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll b/llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll --- a/llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll +++ b/llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; Test for DISPFlagPure, DISPFlagElement and DISPFlagRecursive. These ; three DISPFlags are used to attach DW_AT_pure, DW_AT_element, and ; DW_AT_recursive attributes to DW_TAG_subprogram DIEs. diff --git a/llvm/test/DebugInfo/Generic/global.ll b/llvm/test/DebugInfo/Generic/global.ll --- a/llvm/test/DebugInfo/Generic/global.ll +++ b/llvm/test/DebugInfo/Generic/global.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/gmlt.test b/llvm/test/DebugInfo/Generic/gmlt.test --- a/llvm/test/DebugInfo/Generic/gmlt.test +++ b/llvm/test/DebugInfo/Generic/gmlt.test @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %S/../Inputs/gmlt.ll | llvm-dwarfdump -v - | FileCheck %S/../Inputs/gmlt.ll ; There's a darwin specific test in X86/gmlt, so it's okay to XFAIL this here. diff --git a/llvm/test/DebugInfo/Generic/gmlt_profiling.ll b/llvm/test/DebugInfo/Generic/gmlt_profiling.ll --- a/llvm/test/DebugInfo/Generic/gmlt_profiling.ll +++ b/llvm/test/DebugInfo/Generic/gmlt_profiling.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump -v - | FileCheck %S/gmlt_profiling.ll ; CHECK: .debug_info diff --git a/llvm/test/DebugInfo/Generic/imported-name-inlined.ll b/llvm/test/DebugInfo/Generic/imported-name-inlined.ll --- a/llvm/test/DebugInfo/Generic/imported-name-inlined.ll +++ b/llvm/test/DebugInfo/Generic/imported-name-inlined.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s ; Generated from the following source: diff --git a/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll b/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll --- a/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll +++ b/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; This is a test case that's as reduced as I can get it, though I haven't fully diff --git a/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll b/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll --- a/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll +++ b/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; xfail this test on hexagon because at O2, instructions are bundled in packets ; and DW_OP_lit13 is correctly omitted. ; XFAIL: hexagon diff --git a/llvm/test/DebugInfo/Generic/inline-scopes.ll b/llvm/test/DebugInfo/Generic/inline-scopes.ll --- a/llvm/test/DebugInfo/Generic/inline-scopes.ll +++ b/llvm/test/DebugInfo/Generic/inline-scopes.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; bool f(); diff --git a/llvm/test/DebugInfo/Generic/inlined-arguments.ll b/llvm/test/DebugInfo/Generic/inlined-arguments.ll --- a/llvm/test/DebugInfo/Generic/inlined-arguments.ll +++ b/llvm/test/DebugInfo/Generic/inlined-arguments.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/inlined-strings.ll b/llvm/test/DebugInfo/Generic/inlined-strings.ll --- a/llvm/test/DebugInfo/Generic/inlined-strings.ll +++ b/llvm/test/DebugInfo/Generic/inlined-strings.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s -dwarf-inlined-strings=Enable -o - | llvm-dwarfdump -show-form - | FileCheck %s ; Also test that the null streamer doesn't crash with debug info. diff --git a/llvm/test/DebugInfo/Generic/line-table-addrx.ll b/llvm/test/DebugInfo/Generic/line-table-addrx.ll --- a/llvm/test/DebugInfo/Generic/line-table-addrx.ll +++ b/llvm/test/DebugInfo/Generic/line-table-addrx.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s ;; In DWARF v5, emit DW_AT_addr_base as DW_AT_addr_base is used for DW_AT_low_pc. diff --git a/llvm/test/DebugInfo/Generic/linkage-name-abstract.ll b/llvm/test/DebugInfo/Generic/linkage-name-abstract.ll --- a/llvm/test/DebugInfo/Generic/linkage-name-abstract.ll +++ b/llvm/test/DebugInfo/Generic/linkage-name-abstract.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Abstract < %s | llvm-dwarfdump -v -debug-info - > %t ; RUN: FileCheck %s -check-prefix=ONENAME < %t ; RUN: FileCheck %s -check-prefix=REF < %t diff --git a/llvm/test/DebugInfo/Generic/lto-comp-dir.ll b/llvm/test/DebugInfo/Generic/lto-comp-dir.ll --- a/llvm/test/DebugInfo/Generic/lto-comp-dir.ll +++ b/llvm/test/DebugInfo/Generic/lto-comp-dir.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-line - | FileCheck %s ; RUN: %llc_dwarf < %s -filetype=asm | FileCheck --check-prefix=ASM %s diff --git a/llvm/test/DebugInfo/Generic/mainsubprogram.ll b/llvm/test/DebugInfo/Generic/mainsubprogram.ll --- a/llvm/test/DebugInfo/Generic/mainsubprogram.ll +++ b/llvm/test/DebugInfo/Generic/mainsubprogram.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/member-order.ll b/llvm/test/DebugInfo/Generic/member-order.ll --- a/llvm/test/DebugInfo/Generic/member-order.ll +++ b/llvm/test/DebugInfo/Generic/member-order.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; generated by clang from: diff --git a/llvm/test/DebugInfo/Generic/member-pointers.ll b/llvm/test/DebugInfo/Generic/member-pointers.ll --- a/llvm/test/DebugInfo/Generic/member-pointers.ll +++ b/llvm/test/DebugInfo/Generic/member-pointers.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; CHECK: DW_TAG_ptr_to_member_type diff --git a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll --- a/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll +++ b/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; The formal parameter 'b' for Function 'x' when inlined within 'a' is lost on diff --git a/llvm/test/DebugInfo/Generic/namespace.ll b/llvm/test/DebugInfo/Generic/namespace.ll --- a/llvm/test/DebugInfo/Generic/namespace.ll +++ b/llvm/test/DebugInfo/Generic/namespace.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v - | FileCheck %s ; CHECK: debug_info contents ; CHECK: DW_AT_name{{.*}}= [[F1:.*]]) diff --git a/llvm/test/DebugInfo/Generic/namespace_function_definition.ll b/llvm/test/DebugInfo/Generic/namespace_function_definition.ll --- a/llvm/test/DebugInfo/Generic/namespace_function_definition.ll +++ b/llvm/test/DebugInfo/Generic/namespace_function_definition.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Generated from clang with the following source: diff --git a/llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll b/llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll --- a/llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll +++ b/llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Generate from clang with the following source. Note that the definition of diff --git a/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll b/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll --- a/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll +++ b/llvm/test/DebugInfo/Generic/no-empty-child-vars.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -o - -filetype=obj | llvm-dwarfdump - | FileCheck %s -implicit-check-not=DW_TAG ; ; This tests that we do not create concrete variable DIEs for variables that diff --git a/llvm/test/DebugInfo/Generic/noscopes.ll b/llvm/test/DebugInfo/Generic/noscopes.ll --- a/llvm/test/DebugInfo/Generic/noscopes.ll +++ b/llvm/test/DebugInfo/Generic/noscopes.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s ; Just because there are no scopes/locations on any instructions in the diff --git a/llvm/test/DebugInfo/Generic/pass-by-value.ll b/llvm/test/DebugInfo/Generic/pass-by-value.ll --- a/llvm/test/DebugInfo/Generic/pass-by-value.ll +++ b/llvm/test/DebugInfo/Generic/pass-by-value.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; RUN: %llc_dwarf -O0 -filetype=obj < %s -strict-dwarf=true | llvm-dwarfdump -debug-info - \ ; RUN: | FileCheck %s --check-prefix=STRICT --implicit-check-not DW_AT_calling_convention diff --git a/llvm/test/DebugInfo/Generic/ptrsize.ll b/llvm/test/DebugInfo/Generic/ptrsize.ll --- a/llvm/test/DebugInfo/Generic/ptrsize.ll +++ b/llvm/test/DebugInfo/Generic/ptrsize.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/recursive_inlining.ll b/llvm/test/DebugInfo/Generic/recursive_inlining.ll --- a/llvm/test/DebugInfo/Generic/recursive_inlining.ll +++ b/llvm/test/DebugInfo/Generic/recursive_inlining.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; This isn't a very pretty test case - I imagine there might be other ways to diff --git a/llvm/test/DebugInfo/Generic/restrict.ll b/llvm/test/DebugInfo/Generic/restrict.ll --- a/llvm/test/DebugInfo/Generic/restrict.ll +++ b/llvm/test/DebugInfo/Generic/restrict.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s ; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s diff --git a/llvm/test/DebugInfo/Generic/skeletoncu.ll b/llvm/test/DebugInfo/Generic/skeletoncu.ll --- a/llvm/test/DebugInfo/Generic/skeletoncu.ll +++ b/llvm/test/DebugInfo/Generic/skeletoncu.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; CHECK: DW_TAG_compile_unit diff --git a/llvm/test/DebugInfo/Generic/sugared-constants.ll b/llvm/test/DebugInfo/Generic/sugared-constants.ll --- a/llvm/test/DebugInfo/Generic/sugared-constants.ll +++ b/llvm/test/DebugInfo/Generic/sugared-constants.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; xfail this test on hexagon because upstream llc is not emitting the ; correct DWARF info. Downstream llc is. ; XFAIL: hexagon diff --git a/llvm/test/DebugInfo/Generic/template-recursive-void.ll b/llvm/test/DebugInfo/Generic/template-recursive-void.ll --- a/llvm/test/DebugInfo/Generic/template-recursive-void.ll +++ b/llvm/test/DebugInfo/Generic/template-recursive-void.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/thrownTypes.ll b/llvm/test/DebugInfo/Generic/thrownTypes.ll --- a/llvm/test/DebugInfo/Generic/thrownTypes.ll +++ b/llvm/test/DebugInfo/Generic/thrownTypes.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; CHECK: DW_TAG_subprogram diff --git a/llvm/test/DebugInfo/Generic/tu-composite.ll b/llvm/test/DebugInfo/Generic/tu-composite.ll --- a/llvm/test/DebugInfo/Generic/tu-composite.ll +++ b/llvm/test/DebugInfo/Generic/tu-composite.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; CHECK: [[TYPE:.*]]: DW_TAG_structure_type diff --git a/llvm/test/DebugInfo/Generic/tu-member-pointer.ll b/llvm/test/DebugInfo/Generic/tu-member-pointer.ll --- a/llvm/test/DebugInfo/Generic/tu-member-pointer.ll +++ b/llvm/test/DebugInfo/Generic/tu-member-pointer.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; CHECK: DW_TAG_ptr_to_member_type diff --git a/llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll b/llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll --- a/llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll +++ b/llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; For http://llvm.org/bugs/show_bug.cgi?id=12942 ; There are two CUs coming from /tmp/foo.c in this module. Make sure it doesn't ; blow llc up and produces something reasonable. diff --git a/llvm/test/DebugInfo/Generic/typedef.ll b/llvm/test/DebugInfo/Generic/typedef.ll --- a/llvm/test/DebugInfo/Generic/typedef.ll +++ b/llvm/test/DebugInfo/Generic/typedef.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; From source: diff --git a/llvm/test/DebugInfo/Generic/unconditional-branch.ll b/llvm/test/DebugInfo/Generic/unconditional-branch.ll --- a/llvm/test/DebugInfo/Generic/unconditional-branch.ll +++ b/llvm/test/DebugInfo/Generic/unconditional-branch.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; PR 19261 ; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t diff --git a/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll b/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll --- a/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll +++ b/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/varargs.ll b/llvm/test/DebugInfo/Generic/varargs.ll --- a/llvm/test/DebugInfo/Generic/varargs.ll +++ b/llvm/test/DebugInfo/Generic/varargs.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s ; diff --git a/llvm/test/DebugInfo/Generic/version.ll b/llvm/test/DebugInfo/Generic/version.ll --- a/llvm/test/DebugInfo/Generic/version.ll +++ b/llvm/test/DebugInfo/Generic/version.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s diff --git a/llvm/test/DebugInfo/Generic/virtual-index.ll b/llvm/test/DebugInfo/Generic/virtual-index.ll --- a/llvm/test/DebugInfo/Generic/virtual-index.ll +++ b/llvm/test/DebugInfo/Generic/virtual-index.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange.ll b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_AT_rank attribute accepts DIExpression. ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s diff --git a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_const.ll b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_const.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_const.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_const.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_AT_rank attribute accepts constants. ;; constants are interally stored as DIExpression. diff --git a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_count.ll b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_count.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_count.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-generic_subrange_count.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_AT_rank attribute accepts DIExpression. ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s diff --git a/llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll b/llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-rankConst.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_AT_rank attribute accepts DIExpression. ; RUN: llc %s -filetype=obj -o %t.o diff --git a/llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll b/llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-rankExp.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_AT_rank attribute accepts DIExpression. ; RUN: llc %s -filetype=obj -o %t.o diff --git a/llvm/test/DebugInfo/X86/dwarfdump-signed_const.ll b/llvm/test/DebugInfo/X86/dwarfdump-signed_const.ll --- a/llvm/test/DebugInfo/X86/dwarfdump-signed_const.ll +++ b/llvm/test/DebugInfo/X86/dwarfdump-signed_const.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ;; This test checks whether DW_OP_consts is emitted correctly. ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s diff --git a/llvm/test/DebugInfo/X86/global-constants.ll b/llvm/test/DebugInfo/X86/global-constants.ll --- a/llvm/test/DebugInfo/X86/global-constants.ll +++ b/llvm/test/DebugInfo/X86/global-constants.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s ; CHECK-DAG-LABEL: DW_AT_name ("negconstant") diff --git a/llvm/test/DebugInfo/X86/objc_direct.ll b/llvm/test/DebugInfo/X86/objc_direct.ll --- a/llvm/test/DebugInfo/X86/objc_direct.ll +++ b/llvm/test/DebugInfo/X86/objc_direct.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llc < %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s diff --git a/llvm/test/DebugInfo/cross-cu-scope.ll b/llvm/test/DebugInfo/cross-cu-scope.ll --- a/llvm/test/DebugInfo/cross-cu-scope.ll +++ b/llvm/test/DebugInfo/cross-cu-scope.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; REQUIRES: default_triple, object-emission diff --git a/llvm/test/DebugInfo/dwo.ll b/llvm/test/DebugInfo/dwo.ll --- a/llvm/test/DebugInfo/dwo.ll +++ b/llvm/test/DebugInfo/dwo.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; REQUIRES: default_triple, object-emission diff --git a/llvm/test/DebugInfo/skeletoncu.ll b/llvm/test/DebugInfo/skeletoncu.ll --- a/llvm/test/DebugInfo/skeletoncu.ll +++ b/llvm/test/DebugInfo/skeletoncu.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -filetype=obj -o %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; CHECK: DW_TAG_compile_unit diff --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll --- a/llvm/test/Linker/subprogram-linkonce-weak.ll +++ b/llvm/test/Linker/subprogram-linkonce-weak.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: llvm-link %s %S/Inputs/subprogram-linkonce-weak.ll -S -o %t1 ; RUN: FileCheck %s -check-prefix=LW -check-prefix=CHECK <%t1 ; RUN: llvm-link %S/Inputs/subprogram-linkonce-weak.ll %s -S -o %t2 diff --git a/llvm/test/Linker/type-unique-odr-a.ll b/llvm/test/Linker/type-unique-odr-a.ll --- a/llvm/test/Linker/type-unique-odr-a.ll +++ b/llvm/test/Linker/type-unique-odr-a.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; REQUIRES: default_triple, object-emission ; ; RUN: llvm-link %s %p/type-unique-odr-b.ll -S -o - \ diff --git a/llvm/test/Linker/type-unique-simple-a.ll b/llvm/test/Linker/type-unique-simple-a.ll --- a/llvm/test/Linker/type-unique-simple-a.ll +++ b/llvm/test/Linker/type-unique-simple-a.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; REQUIRES: default_triple, object-emission ; RUN: llvm-link %s %p/type-unique-simple-b.ll -S -o %t diff --git a/llvm/test/Linker/type-unique-simple2-a.ll b/llvm/test/Linker/type-unique-simple2-a.ll --- a/llvm/test/Linker/type-unique-simple2-a.ll +++ b/llvm/test/Linker/type-unique-simple2-a.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; REQUIRES: default_triple, object-emission ; ; RUN: llvm-link %s %p/type-unique-simple2-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -v -debug-info - | FileCheck %s diff --git a/llvm/test/Linker/type-unique-simple2.ll b/llvm/test/Linker/type-unique-simple2.ll --- a/llvm/test/Linker/type-unique-simple2.ll +++ b/llvm/test/Linker/type-unique-simple2.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; REQUIRES: default_triple, object-emission ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t diff --git a/llvm/test/Linker/type-unique-type-array-a.ll b/llvm/test/Linker/type-unique-type-array-a.ll --- a/llvm/test/Linker/type-unique-type-array-a.ll +++ b/llvm/test/Linker/type-unique-type-array-a.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; REQUIRES: default_triple, object-emission ; ; RUN: llvm-link %s %p/type-unique-type-array-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -v -debug-info - | FileCheck %s diff --git a/llvm/test/MC/ELF/cfi-version.ll b/llvm/test/MC/ELF/cfi-version.ll --- a/llvm/test/MC/ELF/cfi-version.ll +++ b/llvm/test/MC/ELF/cfi-version.ll @@ -1,3 +1,4 @@ +; XFAIL: -aix ; RUN: %llc_dwarf %s -o - -dwarf-version 2 -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF2 ; RUN: %llc_dwarf %s -o - -dwarf-version 3 -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF3 ; RUN: %llc_dwarf %s -o - -dwarf-version 4 -filetype=obj | llvm-dwarfdump -v - | FileCheck %s --check-prefix=DWARF4 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 @@ -383,7 +383,11 @@ EXPECT_EQ(AddrValue, toAddress(DieDG.find(Attr_Last), 0)); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr4AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr4AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 4 byte // addresses. typedef uint32_t AddrType; @@ -392,7 +396,11 @@ TestAllForms<2, AddrType, RefAddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr8AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr8AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 4 byte // addresses. typedef uint64_t AddrType; @@ -401,7 +409,11 @@ TestAllForms<2, AddrType, RefAddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr4AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr4AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 4 byte // addresses. typedef uint32_t AddrType; @@ -410,7 +422,11 @@ TestAllForms<3, AddrType, RefAddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr8AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr8AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 8 byte // addresses. typedef uint64_t AddrType; @@ -419,7 +435,11 @@ TestAllForms<3, AddrType, RefAddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr4AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr4AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 4 byte // addresses. typedef uint32_t AddrType; @@ -428,7 +448,11 @@ TestAllForms<4, AddrType, RefAddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr8AllForms) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr8AllForms) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 8 byte // addresses. typedef uint64_t AddrType; @@ -543,42 +567,66 @@ EXPECT_EQ(IntDieDG.getTag(), DW_TAG_base_type); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr4Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr4Children) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 4 byte // addresses. typedef uint32_t AddrType; TestChildren<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr8Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr8Children) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 8 byte // addresses. typedef uint64_t AddrType; TestChildren<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr4Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr4Children) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 4 byte // addresses. typedef uint32_t AddrType; TestChildren<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr8Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr8Children) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 8 byte // addresses. typedef uint64_t AddrType; TestChildren<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr4Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr4Children) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 4 byte // addresses. typedef uint32_t AddrType; TestChildren<4, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr8Children) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr8Children) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 8 byte // addresses. typedef uint64_t AddrType; @@ -793,42 +841,66 @@ toReference(CU2ToCU1RefAddrDieDG.find(DW_AT_type), -1ULL)); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr4References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr4References) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 4 byte // addresses. typedef uint32_t AddrType; TestReferences<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr8References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr8References) { +#endif // Test that we can decode all forms for DWARF32, version 2, with 8 byte // addresses. typedef uint64_t AddrType; TestReferences<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr4References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr4References) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 4 byte // addresses. typedef uint32_t AddrType; TestReferences<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr8References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr8References) { +#endif // Test that we can decode all forms for DWARF32, version 3, with 8 byte // addresses. typedef uint64_t AddrType; TestReferences<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr4References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr4References) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 4 byte // addresses. typedef uint32_t AddrType; TestReferences<4, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr8References) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr8References) { +#endif // Test that we can decode all forms for DWARF32, version 4, with 8 byte // addresses. typedef uint64_t AddrType; @@ -965,42 +1037,66 @@ EXPECT_EQ(HighPC, ActualHighPC); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr4Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr4Addresses) { +#endif // Test that we can decode address values in DWARF32, version 2, with 4 byte // addresses. typedef uint32_t AddrType; TestAddresses<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version2Addr8Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version2Addr8Addresses) { +#endif // Test that we can decode address values in DWARF32, version 2, with 8 byte // addresses. typedef uint64_t AddrType; TestAddresses<2, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr4Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr4Addresses) { +#endif // Test that we can decode address values in DWARF32, version 3, with 4 byte // addresses. typedef uint32_t AddrType; TestAddresses<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version3Addr8Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version3Addr8Addresses) { +#endif // Test that we can decode address values in DWARF32, version 3, with 8 byte // addresses. typedef uint64_t AddrType; TestAddresses<3, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr4Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr4Addresses) { +#endif // Test that we can decode address values in DWARF32, version 4, with 4 byte // addresses. typedef uint32_t AddrType; TestAddresses<4, AddrType>(); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestDWARF32Version4Addr8Addresses) { +#else TEST(DWARFDebugInfo, TestDWARF32Version4Addr8Addresses) { +#endif // Test that we can decode address values in DWARF32, version 4, with 8 byte // addresses. typedef uint64_t AddrType; @@ -1071,7 +1167,11 @@ EXPECT_STREQ(String1, *Extracted3); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestEmptyStringOffsets) { +#else TEST(DWARFDebugInfo, TestEmptyStringOffsets) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1100,7 +1200,11 @@ DwarfContext->getDWARFObj().getStrOffsetsSection().Data.empty()); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestRelations) { +#else TEST(DWARFDebugInfo, TestRelations) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1287,7 +1391,11 @@ EXPECT_FALSE(DefaultDie.getSibling().isValid()); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestChildIterators) { +#else TEST(DWARFDebugInfo, TestChildIterators) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1396,7 +1504,11 @@ EXPECT_EQ(CUDie.begin(), CUDie.end()); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestAttributeIterators) { +#else TEST(DWARFDebugInfo, TestAttributeIterators) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1458,7 +1570,11 @@ EXPECT_EQ(E, ++I); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestFindRecurse) { +#else TEST(DWARFDebugInfo, TestFindRecurse) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1672,7 +1788,11 @@ // Test } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestFindAttrs) { +#else TEST(DWARFDebugInfo, TestFindAttrs) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; @@ -1735,7 +1855,11 @@ EXPECT_EQ(DieMangled, toString(NameOpt, "")); } +#ifdef _AIX +TEST(DWARFDebugInfo, DISABLED_TestImplicitConstAbbrevs) { +#else TEST(DWARFDebugInfo, TestImplicitConstAbbrevs) { +#endif Triple Triple = getNormalizedDefaultTargetTriple(); if (!isObjectEmissionSupported(Triple)) return; diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -177,7 +177,11 @@ EXPECT_STREQ(*Prologue.FileNames[0].Name.getAsCString(), "a file"); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_GetOrParseLineTableAtInvalidOffset) { +#else TEST_F(DebugLineBasicFixture, GetOrParseLineTableAtInvalidOffset) { +#endif if (!setupGenerator()) return; generate(); @@ -199,7 +203,12 @@ "offset 0x00000001 is not a valid debug line section offset")); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_GetOrParseLineTableAtInvalidOffsetAfterData) { +#else TEST_F(DebugLineBasicFixture, GetOrParseLineTableAtInvalidOffsetAfterData) { +#endif if (!setupGenerator()) return; @@ -220,7 +229,11 @@ "offset 0x00000001 is not a valid debug line section offset")); } +#ifdef _AIX +TEST_P(DebugLineParameterisedFixture, DISABLED_PrologueGetLength) { +#else TEST_P(DebugLineParameterisedFixture, PrologueGetLength) { +#endif if (!setupGenerator(Version)) return; LineTable < = Gen->addLineTable(Format); @@ -243,7 +256,11 @@ EXPECT_EQ((*ExpectedLineTable)->Prologue.getLength(), ExpectedLength); } +#ifdef _AIX +TEST_P(DebugLineParameterisedFixture, DISABLED_GetOrParseLineTableValidTable) { +#else TEST_P(DebugLineParameterisedFixture, GetOrParseLineTableValidTable) { +#endif if (!setupGenerator(Version)) return; @@ -309,7 +326,11 @@ // correctly. } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ErrorForReservedLength) { +#else TEST_F(DebugLineBasicFixture, ErrorForReservedLength) { +#endif if (!setupGenerator()) return; @@ -332,7 +353,12 @@ uint16_t Version; }; +#ifdef _AIX +TEST_P(DebugLineUnsupportedVersionFixture, + DISABLED_ErrorForUnsupportedVersion) { +#else TEST_P(DebugLineUnsupportedVersionFixture, ErrorForUnsupportedVersion) { +#endif if (!setupGenerator()) return; @@ -354,7 +380,11 @@ Values(/*1 below min */ 1, /* 1 above max */ 6, /* Maximum possible */ 0xffff)); +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ErrorForInvalidV5IncludeDirTable) { +#else TEST_F(DebugLineBasicFixture, ErrorForInvalidV5IncludeDirTable) { +#endif if (!setupGenerator(5)) return; @@ -395,7 +425,11 @@ "found")); } +#ifdef _AIX +TEST_P(DebugLineParameterisedFixture, DISABLED_ErrorForTooLargePrologueLength) { +#else TEST_P(DebugLineParameterisedFixture, ErrorForTooLargePrologueLength) { +#endif if (!setupGenerator(Version)) return; @@ -431,7 +465,11 @@ .str())); } +#ifdef _AIX +TEST_P(DebugLineParameterisedFixture, DISABLED_ErrorForTooShortPrologueLength) { +#else TEST_P(DebugLineParameterisedFixture, ErrorForTooShortPrologueLength) { +#endif if (!setupGenerator(Version)) return; @@ -485,7 +523,12 @@ std::make_pair(4, DWARF64), // Test v4 fields and DWARF64. std::make_pair(5, DWARF32), std::make_pair(5, DWARF64))); +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ErrorForExtendedOpcodeLengthSmallerThanExpeted) { +#else TEST_F(DebugLineBasicFixture, ErrorForExtendedOpcodeLengthSmallerThanExpected) { +#endif if (!setupGenerator()) return; @@ -514,7 +557,12 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[1].Discriminator, DW_LNS_negate_stmt); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ErrorForExtendedOpcodeLengthLargerThanExpected) { +#else TEST_F(DebugLineBasicFixture, ErrorForExtendedOpcodeLengthLargerThanExpected) { +#endif if (!setupGenerator()) return; @@ -543,7 +591,11 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[2].IsStmt, 1u); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ErrorForUnitLengthTooLarge) { +#else TEST_F(DebugLineBasicFixture, ErrorForUnitLengthTooLarge) { +#endif if (!setupGenerator()) return; @@ -572,7 +624,11 @@ EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ErrorForMismatchedAddressSize) { +#else TEST_F(DebugLineBasicFixture, ErrorForMismatchedAddressSize) { +#endif if (!setupGenerator(4, 8)) return; @@ -601,8 +657,13 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[1].Address.Address, Addr2); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ErrorForMismatchedAddressSizeUnsetInitialAddress) { +#else TEST_F(DebugLineBasicFixture, ErrorForMismatchedAddressSizeUnsetInitialAddress) { +#endif if (!setupGenerator(4, 0)) return; @@ -628,8 +689,13 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[1].Address.Address, Addr2); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ErrorForUnsupportedAddressSizeInSetAddressLength) { +#else TEST_F(DebugLineBasicFixture, ErrorForUnsupportedAddressSizeInSetAddressLength) { +#endif // Use DWARF v4, and 0 for data extractor address size so that the address // size is derived from the opcode length. if (!setupGenerator(4, 0)) @@ -661,7 +727,11 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ErrorForAddressSizeGreaterThanByteSize) { +#else TEST_F(DebugLineBasicFixture, ErrorForAddressSizeGreaterThanByteSize) { +#endif // Use DWARF v4, and 0 for data extractor address size so that the address // size is derived from the opcode length. if (!setupGenerator(4, 0)) @@ -685,7 +755,12 @@ ASSERT_THAT_EXPECTED(ExpectedLineTable, Succeeded()); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ErrorForUnsupportedAddressSizeDefinedInHeader) { +#else TEST_F(DebugLineBasicFixture, ErrorForUnsupportedAddressSizeDefinedInHeader) { +#endif // Use 0 for data extractor address size so that it does not clash with the // header address size. if (!setupGenerator(5, 0)) @@ -722,7 +797,11 @@ EXPECT_EQ((*ExpectedLineTable)->Rows[0].Address.Address, 0u); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_CallbackUsedForUnterminatedSequence) { +#else TEST_F(DebugLineBasicFixture, CallbackUsedForUnterminatedSequence) { +#endif if (!setupGenerator()) return; @@ -943,7 +1022,11 @@ uint8_t MaxOpsPerInst; }; +#ifdef _AIX +TEST_P(MaxOpsPerInstFixture, DISABLED_MaxOpsPerInstProblemsReportedCorrectly) { +#else TEST_P(MaxOpsPerInstFixture, MaxOpsPerInstProblemsReportedCorrectly) { +#endif runTest(/*CheckAdvancePC=*/true, "but the prologue maximum_operations_per_instruction value is " + Twine(unsigned(MaxOpsPerInst)) + @@ -987,7 +1070,11 @@ uint8_t LineRange; }; +#ifdef _AIX +TEST_P(LineRangeFixture, DISABLED_LineRangeProblemsReportedCorrectly) { +#else TEST_P(LineRangeFixture, LineRangeProblemsReportedCorrectly) { +#endif runTest(/*CheckAdvancePC=*/false, "but the prologue line_range value is 0. The address and line will " "not be adjusted"); @@ -1022,7 +1109,11 @@ uint8_t MinInstLength; }; +#ifdef _AIX +TEST_P(BadMinInstLenFixture, DISABLED_MinInstLengthProblemsReportedCorrectly) { +#else TEST_P(BadMinInstLenFixture, MinInstLengthProblemsReportedCorrectly) { +#endif runTest(/*CheckAdvancePC=*/true, "but the prologue minimum_instruction_length value is 0, which " "prevents any address advancing"); @@ -1033,7 +1124,11 @@ Values(std::make_tuple(0, true), // Test zero value (error). std::make_tuple(1, false))); // Test non-zero value (no error). +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ParserParsesCorrectly) { +#else TEST_F(DebugLineBasicFixture, ParserParsesCorrectly) { +#endif if (!setupGenerator()) return; @@ -1060,7 +1155,11 @@ EXPECT_FALSE(Unrecoverable); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ParserSkipsCorrectly) { +#else TEST_F(DebugLineBasicFixture, ParserSkipsCorrectly) { +#endif if (!setupGenerator()) return; @@ -1081,7 +1180,11 @@ EXPECT_FALSE(Unrecoverable); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_ParserAlwaysDoneForEmptySection) { +#else TEST_F(DebugLineBasicFixture, ParserAlwaysDoneForEmptySection) { +#endif if (!setupGenerator()) return; @@ -1091,7 +1194,12 @@ EXPECT_TRUE(Parser.done()); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserMarkedAsDoneForBadLengthWhenParsing) { +#else TEST_F(DebugLineBasicFixture, ParserMarkedAsDoneForBadLengthWhenParsing) { +#endif if (!setupGenerator()) return; @@ -1114,7 +1222,12 @@ "reserved unit length of value 0xfffffff0")); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserMarkedAsDoneForBadLengthWhenSkipping) { +#else TEST_F(DebugLineBasicFixture, ParserMarkedAsDoneForBadLengthWhenSkipping) { +#endif if (!setupGenerator()) return; @@ -1137,7 +1250,12 @@ "reserved unit length of value 0xfffffff0")); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserReportsFirstErrorInEachTableWhenParsing) { +#else TEST_F(DebugLineBasicFixture, ParserReportsFirstErrorInEachTableWhenParsing) { +#endif if (!setupGenerator()) return; @@ -1163,7 +1281,12 @@ "unsupported version 1")); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserReportsNonPrologueProblemsWhenParsing) { +#else TEST_F(DebugLineBasicFixture, ParserReportsNonPrologueProblemsWhenParsing) { +#endif if (!setupGenerator()) return; @@ -1195,8 +1318,13 @@ EXPECT_FALSE(Unrecoverable); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserReportsPrologueErrorsInEachTableWhenSkipping) { +#else TEST_F(DebugLineBasicFixture, ParserReportsPrologueErrorsInEachTableWhenSkipping) { +#endif if (!setupGenerator()) return; @@ -1222,7 +1350,12 @@ "unsupported version 1")); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, + DISABLED_ParserIgnoresNonPrologueErrorsWhenSkipping) { +#else TEST_F(DebugLineBasicFixture, ParserIgnoresNonPrologueErrorsWhenSkipping) { +#endif if (!setupGenerator()) return; @@ -1238,7 +1371,11 @@ EXPECT_FALSE(Unrecoverable); } +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_VerboseOutput) { +#else TEST_F(DebugLineBasicFixture, VerboseOutput) { +#endif if (!setupGenerator(5)) return; @@ -1394,7 +1531,11 @@ StringRef ExpectedErr; }; +#ifdef _AIX +TEST_P(TruncatedPrologueFixture, DISABLED_ErrorForTruncatedPrologue) { +#else TEST_P(TruncatedPrologueFixture, ErrorForTruncatedPrologue) { +#endif if (!setupGenerator(Version)) return; @@ -1571,7 +1712,12 @@ uint64_t OpcodeLength; }; +#ifdef _AIX +TEST_P(TruncatedExtendedOpcodeFixture, + DISABLED_ErrorForTruncatedExtendedOpcode) { +#else TEST_P(TruncatedExtendedOpcodeFixture, ErrorForTruncatedExtendedOpcode) { +#endif if (!setupGenerator()) return; LineTable < = setupTable(); @@ -1650,7 +1796,12 @@ "unexpected end of data at offset 0x35 while reading [0x32, " "0x36)"))); +#ifdef _AIX +TEST_P(TruncatedStandardOpcodeFixture, + DISABLED_ErrorForTruncatedStandardOpcode) { +#else TEST_P(TruncatedStandardOpcodeFixture, ErrorForTruncatedStandardOpcode) { +#endif if (!setupGenerator()) return; LineTable < = setupTable(); @@ -1706,7 +1857,11 @@ "unable to decode LEB128 at offset 0x00000032: " "malformed uleb128, extends past end"))); +#ifdef _AIX +TEST_F(DebugLineBasicFixture, DISABLED_PrintPathsProperly) { +#else TEST_F(DebugLineBasicFixture, PrintPathsProperly) { +#endif if (!setupGenerator(5)) return; diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp --- a/llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDieManualExtractTest.cpp @@ -20,7 +20,11 @@ namespace { +#ifdef _AIX +TEST(DWARFDie, DISABLED_manualExtractDump) { +#else TEST(DWARFDie, manualExtractDump) { +#endif typedef uint32_t AddrType; uint16_t Version = 4; Triple Triple = getDefaultTargetTripleForAddrSize(sizeof(AddrType)); diff --git a/llvm/unittests/Passes/PluginsTest.cpp b/llvm/unittests/Passes/PluginsTest.cpp --- a/llvm/unittests/Passes/PluginsTest.cpp +++ b/llvm/unittests/Passes/PluginsTest.cpp @@ -64,7 +64,11 @@ // Test that llvmGetPassPluginInfo from DoublerPlugin is called twice with // -fpass-plugin=DoublerPlugin -fpass-plugin=TestPlugin // -fpass-plugin=DoublerPlugin. +#ifdef _AIX +TEST(PluginsTests, DISABLED_LoadMultiplePlugins) { +#else TEST(PluginsTests, LoadMultiplePlugins) { +#endif #if !defined(LLVM_ENABLE_PLUGINS) // Disable the test if plugins are disabled. return;