[llvm] 5bae366 - [llvm-debuginfo-analyzer][lit] Fix tests failing when X86 isn't available (#155678)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 13:16:35 PDT 2025
Author: Nick Sarnie
Date: 2025-08-27T20:16:31Z
New Revision: 5bae3662a6892ae370685a8c41ef1dd6b17dca67
URL: https://github.com/llvm/llvm-project/commit/5bae3662a6892ae370685a8c41ef1dd6b17dca67
DIFF: https://github.com/llvm/llvm-project/commit/5bae3662a6892ae370685a8c41ef1dd6b17dca67.diff
LOG: [llvm-debuginfo-analyzer][lit] Fix tests failing when X86 isn't available (#155678)
Need to require the target.
Fixes: https://github.com/llvm/llvm-project/pull/153318
Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>
Added:
Modified:
llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s b/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
index 58d7b28b8d65e..daeda00f55644 100644
--- a/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
+++ b/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s
@@ -16,6 +16,8 @@
# 12 return (int)my_var;
# 13 }
+# REQUIRES: x86-registered-target
+
# RUN: llvm-mc %s -triple=i686-pc-linux -filetype=obj -o - | \
# RUN: llvm-debuginfo-analyzer --attribute=all \
# RUN: --print=all \
diff --git a/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s b/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s
index efba25c46ae67..a9a90163667f6 100644
--- a/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s
+++ b/llvm/test/tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s
@@ -12,6 +12,8 @@
# 8 }
# 9
+# REQUIRES: x86-registered-target
+
# RUN: llvm-mc %s -triple=i686-pc-linux -filetype=obj -o - | \
# RUN: llvm-debuginfo-analyzer --attribute=all \
# RUN: --print=all \
More information about the llvm-commits
mailing list