aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
diff options
context:
space:
mode:
authorJake Egan <Jake.Egan@ibm.com>2021-10-08 12:06:25 -0400
committerJake Egan <Jake.Egan@ibm.com>2021-10-08 12:06:38 -0400
commit8037481cb2d729ae3d782c3fed930f69d740fa23 (patch)
tree56102d32b36bec25b4e3e554e54fc9da56584f9a /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
parentff3b542e7ca8fba014182b4fa888a5106f076fef (diff)
downloadllvm-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.cpp12
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;