[AIX] Disable cfi-version test on AIX
authorJake Egan <Jake.Egan@ibm.com>
Sun, 31 Oct 2021 13:32:56 +0000 (09:32 -0400)
committerJake Egan <Jake.Egan@ibm.com>
Sun, 31 Oct 2021 13:33:13 +0000 (09:33 -0400)
`.debug_frame` is not emitted on AIX, so this patch disables the test.

Reviewed By: shchenz, jsji

Differential Revision: https://reviews.llvm.org/D112593

llvm/test/MC/ELF/cfi-version.ll
llvm/test/lit.cfg.py

index ff4675a65e5361f37bd958ae027cb17d87f0a520..4006e35f763d4d5f6429a681ca317d0107b6a678 100644 (file)
@@ -6,7 +6,7 @@
 ; PR46647
 ; XFAIL: arm64-apple
 
-; .debug_frame is not emitted for targeting Windows x64 or arm64.
+; .debug_frame is not emitted for targeting Windows x64, arm64, or AIX.
 ; REQUIRES: debug_frame
 ; REQUIRES: default_triple
 
index 0ff42a3e5b2143c7db5d9228f7b9e41fbd995ca1..52968ad8436fdfd04dcd5afbf39fdc4979d5b5d2 100644 (file)
@@ -381,8 +381,8 @@ if 'darwin' == sys.platform:
         if 'hw.optional.fma: 1' in result:
             config.available_features.add('fma3')
 
-# .debug_frame is not emitted for targeting Windows x64 or arm64.
-if not re.match(r'^(x86_64|arm64).*-(windows-gnu|windows-msvc)', config.target_triple):
+# .debug_frame is not emitted for targeting Windows x64, arm64, or AIX.
+if not re.match(r'^(x86_64|arm64|powerpc|powerpc64).*-(windows-gnu|windows-msvc|aix)', config.target_triple):
     config.available_features.add('debug_frame')
 
 if config.have_libxar: