[llvm] f1c74f8 - [LLVM][MC] Disable cfi-version test for aarch64-pc-windows*
Muhammad Omair Javaid via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 29 02:38:11 PDT 2022
Author: Muhammad Omair Javaid
Date: 2022-09-29T14:38:00+05:00
New Revision: f1c74f80c852d6c268dde56bf49bb217e3a4d6de
URL: https://github.com/llvm/llvm-project/commit/f1c74f80c852d6c268dde56bf49bb217e3a4d6de
DIFF: https://github.com/llvm/llvm-project/commit/f1c74f80c852d6c268dde56bf49bb217e3a4d6de.diff
LOG: [LLVM][MC] Disable cfi-version test for aarch64-pc-windows*
This patch disables MC/ELF/cfi-version.ll test as windows does not emit
.debug_frame needed by the test. This was previously disabled for arm64
but windows on arm uses aarch64-pc-windows* triple. Replacing arm64 with
aarch64 to accomodate windows aarch64 triple(s).
Reviewed By: DavidSpickett
Differential Revision: https://reviews.llvm.org/D134863
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 96c17417b8b0e..c57dc9664cfd5 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, arm64, or AIX.
+; .debug_frame is not emitted for targeting Windows x64, aarch64/arm64, or AIX.
; REQUIRES: debug_frame
; REQUIRES: object-emission
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 1622b80356e5d..bdbfbae9917b3 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -436,8 +436,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, arm64, or AIX.
-if not re.match(r'^(x86_64|arm64|powerpc|powerpc64).*-(windows-gnu|windows-msvc|aix)', config.target_triple):
+# .debug_frame is not emitted for targeting Windows x64, aarch64/arm64, or AIX.
+if not re.match(r'^(x86_64|aarch64|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