From 9ffc5c64ec11bb3eb0ed3e66541bd8b2cfabacac Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Wed, 27 Aug 2025 12:00:32 -0700 Subject: [PATCH] [llvm-debuginfo-analyzer][lit] Fix tests failing when X86 isn't available Signed-off-by: Sarnie, Nick --- llvm/test/tools/llvm-debuginfo-analyzer/DWARF/DW_AT_ranges.s | 2 ++ .../tools/llvm-debuginfo-analyzer/DWARF/high_pc_exclusive.s | 2 ++ 2 files changed, 4 insertions(+) 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 \