[llvm] ff3b542 - [AIX] Disable tests failing due to lack of .loc and .file directive support
Jake Egan via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 8 08:55:33 PDT 2021
Author: Jake Egan
Date: 2021-10-08T11:55:12-04:00
New Revision: ff3b542e7ca8fba014182b4fa888a5106f076fef
URL: https://github.com/llvm/llvm-project/commit/ff3b542e7ca8fba014182b4fa888a5106f076fef
DIFF: https://github.com/llvm/llvm-project/commit/ff3b542e7ca8fba014182b4fa888a5106f076fef.diff
LOG: [AIX] Disable tests failing due to lack of .loc and .file directive support
The following tests explicitly check for .loc and .file directives, which is not currently supported. Disable these tests on AIX for now.
Reviewed By: shchenz
Differential Revision: https://reviews.llvm.org/D111346
Added:
Modified:
llvm/test/CodeGen/Generic/dwarf-md5.ll
llvm/test/CodeGen/Generic/dwarf-source.ll
llvm/test/DebugInfo/Generic/directives-only.ll
llvm/test/DebugInfo/Generic/extended-loc-directive.ll
llvm/test/DebugInfo/Generic/multiline.ll
llvm/test/MC/AsmParser/debug-empty-source.s
llvm/test/MC/ELF/dwarf-file0.s
llvm/test/MC/ELF/dwarf-loc0.s
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/Generic/dwarf-md5.ll b/llvm/test/CodeGen/Generic/dwarf-md5.ll
index e76a70012a895..27995c641742e 100644
--- a/llvm/test/CodeGen/Generic/dwarf-md5.ll
+++ b/llvm/test/CodeGen/Generic/dwarf-md5.ll
@@ -1,3 +1,4 @@
+; XFAIL: -aix
; MD5 checksums provided by IR should be passed through to asm.
; They'll be emitted to an object file only for DWARF 5 or later.
diff --git a/llvm/test/CodeGen/Generic/dwarf-source.ll b/llvm/test/CodeGen/Generic/dwarf-source.ll
index bd18eec770902..1c44fa15776be 100644
--- a/llvm/test/CodeGen/Generic/dwarf-source.ll
+++ b/llvm/test/CodeGen/Generic/dwarf-source.ll
@@ -1,3 +1,4 @@
+; XFAIL: -aix
; Source text provided by IR should be passed through to asm.
; It is emitted to an object file only for DWARF 5 or later.
diff --git a/llvm/test/DebugInfo/Generic/directives-only.ll b/llvm/test/DebugInfo/Generic/directives-only.ll
index bc15400ca4b27..ab7255d25a883 100644
--- a/llvm/test/DebugInfo/Generic/directives-only.ll
+++ b/llvm/test/DebugInfo/Generic/directives-only.ll
@@ -1,3 +1,4 @@
+; XFAIL: -aix
; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s
; Generated with clang from multiline.c:
diff --git a/llvm/test/DebugInfo/Generic/extended-loc-directive.ll b/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
index 3ba4428c2ee07..0f22e7a379963 100644
--- a/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
+++ b/llvm/test/DebugInfo/Generic/extended-loc-directive.ll
@@ -1,3 +1,4 @@
+; XFAIL: -aix
; RUN: llc -filetype=asm -asm-verbose=0 -O0 -dwarf-extended-loc=Enable < %s | FileCheck %s --check-prefix ENABLED --check-prefix CHECK
; RUN: llc -filetype=asm -asm-verbose=0 -O0 -dwarf-extended-loc=Disable < %s | FileCheck %s --check-prefix DISABLED --check-prefix CHECK
diff --git a/llvm/test/DebugInfo/Generic/multiline.ll b/llvm/test/DebugInfo/Generic/multiline.ll
index 1b15d8b77c269..5151a7f69cb76 100644
--- a/llvm/test/DebugInfo/Generic/multiline.ll
+++ b/llvm/test/DebugInfo/Generic/multiline.ll
@@ -1,3 +1,4 @@
+; XFAIL: -aix
; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s
; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -debug-line - | FileCheck %s --check-prefix=INT
diff --git a/llvm/test/MC/AsmParser/debug-empty-source.s b/llvm/test/MC/AsmParser/debug-empty-source.s
index 43240c8f5a20a..372d614c5e360 100644
--- a/llvm/test/MC/AsmParser/debug-empty-source.s
+++ b/llvm/test/MC/AsmParser/debug-empty-source.s
@@ -1,3 +1,4 @@
+// XFAIL: -aix
// UNSUPPORTED: -zos
// REQUIRES: default_triple
// RUN: llvm-mc %s -o -| FileCheck %s
diff --git a/llvm/test/MC/ELF/dwarf-file0.s b/llvm/test/MC/ELF/dwarf-file0.s
index be335406e9329..b209bed36acb9 100644
--- a/llvm/test/MC/ELF/dwarf-file0.s
+++ b/llvm/test/MC/ELF/dwarf-file0.s
@@ -1,3 +1,4 @@
+# XFAIL: -aix
# UNSUPPORTED: -zos
# REQUIRES: default_triple
# RUN: llvm-mc -dwarf-version 4 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
diff --git a/llvm/test/MC/ELF/dwarf-loc0.s b/llvm/test/MC/ELF/dwarf-loc0.s
index e2d279c83bc57..2332367af630d 100644
--- a/llvm/test/MC/ELF/dwarf-loc0.s
+++ b/llvm/test/MC/ELF/dwarf-loc0.s
@@ -1,3 +1,4 @@
+# XFAIL: -aix
# UNSUPPORTED: -zos
# REQUIRES: default_triple
# RUN: llvm-mc -dwarf-version 5 --defsym FILE0=1 %s -filetype=obj -o - | llvm-dwarfdump -debug-line - | FileCheck %s
More information about the llvm-commits
mailing list