diff options
author | Jake Egan <Jake.Egan@ibm.com> | 2021-10-08 12:06:25 -0400 |
---|---|---|
committer | Jake Egan <Jake.Egan@ibm.com> | 2021-10-08 12:06:38 -0400 |
commit | 8037481cb2d729ae3d782c3fed930f69d740fa23 (patch) | |
tree | 56102d32b36bec25b4e3e554e54fc9da56584f9a /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | |
parent | ff3b542e7ca8fba014182b4fa888a5106f076fef (diff) | |
download | llvm-8037481cb2d729ae3d782c3fed930f69d740fa23.zip llvm-8037481cb2d729ae3d782c3fed930f69d740fa23.tar.gz llvm-8037481cb2d729ae3d782c3fed930f69d740fa23.tar.bz2 |
[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
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp index 5560e7e..2787297 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -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; |