[llvm] fa1dd5f - [AIX] Disable cfi-version test on AIX
Jake Egan via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 31 06:33:20 PDT 2021
Author: Jake Egan
Date: 2021-10-31T09:33:13-04:00
New Revision: fa1dd5fdeee291cadc35661f3c9d61b70c751016
URL: https://github.com/llvm/llvm-project/commit/fa1dd5fdeee291cadc35661f3c9d61b70c751016
DIFF: https://github.com/llvm/llvm-project/commit/fa1dd5fdeee291cadc35661f3c9d61b70c751016.diff
LOG: [AIX] Disable cfi-version test on AIX
`.debug_frame` is not emitted on AIX, so this patch disables the test.
Reviewed By: shchenz, jsji
Differential Revision: https://reviews.llvm.org/D112593
Added:
Modified:
llvm/test/MC/ELF/cfi-version.ll
llvm/test/lit.cfg.py
Removed:
################################################################################
diff --git a/llvm/test/MC/ELF/cfi-version.ll b/llvm/test/MC/ELF/cfi-version.ll
index ff4675a65e536..4006e35f763d4 100644
--- a/llvm/test/MC/ELF/cfi-version.ll
+++ b/llvm/test/MC/ELF/cfi-version.ll
@@ -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
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 0ff42a3e5b214..52968ad8436fd 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -381,8 +381,8 @@ def have_ld64_plugin_support():
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:
More information about the llvm-commits
mailing list