[lldb] Require x86 backend for a bunch of DWARF tests
authorDavid Spickett <david.spickett@linaro.org>
Fri, 9 Apr 2021 13:14:31 +0000 (13:14 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Tue, 13 Apr 2021 08:47:41 +0000 (08:47 +0000)
By moving them into a folder with a local lit config
requiring x86. All these tests use x86 target triples.

There are two tests that require target-x86_64 because
they run program files (instead of just needing the backend).
Those are moved to the x86 folder also but their REQUIRES are
unchanged.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D100193

93 files changed:
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_const_value-bitfields.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value-bitfields.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_const_value.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_data_bit_offset-DW_OP_stack_value.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_data_bit_offset-DW_OP_stack_value.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_decl_file-DW_AT_specification-crosscu.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_decl_file-DW_AT_specification-crosscu.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_declaration-with-children.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_declaration-with-children.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_location-DW_AT_const_value.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_location-DW_AT_const_value.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_loclists_base.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_loclists_base.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_AT_low_pc-addrx.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_AT_low_pc-addrx.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_piece-smaller-than-struct.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-smaller-than-struct.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_OP_piece-struct.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_GNU_call_site-DW_AT_low_pc.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll [moved from lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_variable-DW_AT_const_value.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-DW_AT_const_value.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu1.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu1.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/DW_TAG_variable-invalid_location.s [moved from lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu2.s [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/DW_TAG_variable-DW_AT_decl_file-DW_AT_abstract_origin-crosscu2.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/ModuleOwnership/A.h [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/ModuleOwnership/A.h with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/ModuleOwnership/B.h [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/ModuleOwnership/B.h with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/ModuleOwnership/module.modulemap [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/ModuleOwnership/module.modulemap with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-line-basic.script [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/debug-line-basic.script with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/debug-types-basic.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug_loc-aslr.yaml [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/debug_loc-aslr.yaml with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/dir-separator-no-comp-dir-relative-name.lldbinit [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/dir-separator-no-comp-dir-relative-name.lldbinit with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/dir-separator-posix.lldbinit [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/dir-separator-posix.lldbinit with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/dir-separator-windows.lldbinit [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/dir-separator-windows.lldbinit with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/find-variable-file-2.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/find-variable-file-2.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/subprogram_ranges.s [moved from lldb/test/Shell/SymbolFile/DWARF/Inputs/subprogram_ranges.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/apple-index-is-used.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/apple-index-is-used.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/array-sizes.s [moved from lldb/test/Shell/SymbolFile/DWARF/array-sizes.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/childless-compile-unit.s [moved from lldb/test/Shell/SymbolFile/DWARF/childless-compile-unit.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/compilercontext.ll [moved from lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-line-basic.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug-line-basic.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-names-compressed.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-address-ranges.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-address-ranges.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwarf5.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-dwarf5.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-dwo-cross-reference.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-dwo-cross-reference.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-line-tables.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-line-tables.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-missing-signature.test [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-signature-loop.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug-types-signature-loop.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_aranges-empty-section.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_aranges-empty-section.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_line-relative_path.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_line-relative_path.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_line-tombstone.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_line-tombstone.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc-aslr.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_loc-aslr.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_loc.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_loc_and_loclists.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_loc_and_loclists.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_loclists-dwo.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges-missing-section.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_ranges-missing-section.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_ranges.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_ranges_and_rnglists.test [moved from lldb/test/Shell/SymbolFile/DWARF/debug_ranges_and_rnglists.test with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_rnglists-dwo.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_rnglists-dwo.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/debug_rnglists.s [moved from lldb/test/Shell/SymbolFile/DWARF/debug_rnglists.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dir-separator-no-comp-dir-relative-name.s [moved from lldb/test/Shell/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dir-separator-no-comp-dir.s [moved from lldb/test/Shell/SymbolFile/DWARF/dir-separator-no-comp-dir.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dir-separator-posix.s [moved from lldb/test/Shell/SymbolFile/DWARF/dir-separator-posix.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dir-separator-windows.s [moved from lldb/test/Shell/SymbolFile/DWARF/dir-separator-windows.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-atomic.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-atomic.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-debug_line-file-index.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line-file-index.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-debug_line.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-debug_line.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-implicit-const.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-implicit-const.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-index-is-used.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-line-strp.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-line-strp.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-partial-index.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-partial-index.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5-split.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5_locations.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5_locations.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwarf5_tu_index_abbrev_offset.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwarf5_tu_index_abbrev_offset.s with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwo-type-in-main-file.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwo-type-in-main-file.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwp-debug-types.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwp-debug-types.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwp-separate-debug-file.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/dwp.s [moved from lldb/test/Shell/SymbolFile/DWARF/dwp.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-function.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-namespace.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-basic-namespace.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-type.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-basic-type.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-basic-variable.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-basic-variable.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-function-regex.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-function-regex.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-inline-method.s [moved from lldb/test/Shell/SymbolFile/DWARF/find-inline-method.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-method-local-struct.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-method-local-struct.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-method.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-method.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-qualified-variable.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-variable-dwo.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-variable-dwo.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/find-variable-file.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/find-variable-file.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/gnu-style-compression.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/gnu-style-compression.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/inline-function-address-shared.test [moved from lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test with 93% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/inline-function-address.ll [moved from lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll with 98% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/limit-debug-info.s [moved from lldb/test/Shell/SymbolFile/DWARF/limit-debug-info.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/lit.local.cfg [new file with mode: 0644]
lldb/test/Shell/SymbolFile/DWARF/x86/module-ownership.mm [moved from lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/parallel-indexing-stress.s [moved from lldb/test/Shell/SymbolFile/DWARF/parallel-indexing-stress.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/split-dwarf-inlining.cpp [moved from lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/split-dwarf-multiple-cu.ll [moved from lldb/test/Shell/SymbolFile/DWARF/split-dwarf-multiple-cu.ll with 100% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/static_scope.s [moved from lldb/test/Shell/SymbolFile/DWARF/static_scope.s with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/subprogram_ranges.test [moved from lldb/test/Shell/SymbolFile/DWARF/subprogram_ranges.test with 99% similarity]
lldb/test/Shell/SymbolFile/DWARF/x86/win-i386-line-table.s [moved from lldb/test/Shell/SymbolFile/DWARF/win-i386-line-table.s with 99% similarity]

@@ -1,8 +1,6 @@
 # Test handling of (optimized-out/location-less) variables whose value is
 # specified by DW_AT_const_value
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t
 # RUN: %lldb %t \
 # RUN:   -o "target variable udata data1 data2 data4 data8 string strp ref4 udata_ptr" \
@@ -2,8 +2,6 @@
 # DW_TAG_compile_unit is using the DW_TAG_compile_unit->DW_AT_stmt_list where the
 # DW_AT_decl_file is located (and not where the DW_AT_specification is located).
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t
 # RUN: %lldb %t \
 # RUN:   -o "image lookup -v -n main" \
@@ -2,8 +2,6 @@
 # can be produced due to vtable-based type homing, or other -flimit-debug-info
 # optimizations.
 
-# REQUIRES: x86
-
 # RUN: split-file %s %t
 # RUN: llvm-mc --triple x86_64-pc-linux %t/asm --filetype=obj -o %t.o
 # RUN: %lldb -o "settings set interpreter.stop-command-source-on-error false" \
@@ -2,8 +2,6 @@
 ## const_value attributes. Such values are produced in C++ for class-level
 ## static constexpr variables.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux %s -o %t
 # RUN: %lldb %t -o "target variable A::x A::y" -o exit | FileCheck %s
 
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s lookup_loclists" -o exit | FileCheck %s
 
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s lookup_rnglists" \
 # RUN:   -o exit | FileCheck %s
@@ -1,7 +1,5 @@
 # This tests that lldb is able to print DW_TAG_variable using DW_AT_const_value.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple x86_64-unknown-linux-gnu %s -filetype=obj > %t.o
 # RUN: %lldb %t.o -o "p/x magic64" -o exit | FileCheck %s
 
@@ -3,7 +3,7 @@
 # misinterpreted that value as a reference to a DIE specifying the VLA size even
 # though the form was a data form (as it should be).
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
@@ -2,8 +2,6 @@
 # unit in this file sets DW_CHILDREN_no, but it still includes an
 # end-of-children marker in its contribution.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: lldb-test symbols %t.o
 
@@ -3,7 +3,7 @@
 # condition when the final end-of-sequence line table entry points to an address
 # that is outside the range of memory covered by the module.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld --script=%S/Inputs/debug-line-basic.script %t.o -o %t
@@ -4,7 +4,7 @@
 # compute address range for the type unit as type units don't describe any
 # addresses. The addresses should always resolve to the relevant compile units.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -dwarf-version=5 -triple x86_64-pc-linux %s -filetype=obj >%t.o
 # RUN: ld.lld %t.o -o %t -image-base=0x47000 -z separate-code
@@ -1,7 +1,5 @@
 # Test that an empty .debug_aranges section doesn't confuse (or crash) us.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc %s -triple x86_64-pc-linux -filetype=obj >%t
 # RUN: %lldb %t -o "breakpoint set -n f" -b | FileCheck %s
 
@@ -2,8 +2,6 @@
 # produced by "clang -fdebug-compilation-dir <something-relative>". This is one
 # of the techniques used to produce "relocatable" debug info.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux -o %t %s
 # RUN: %lldb %t -o "image dump line-table t.c" | FileCheck %s
 
@@ -2,8 +2,6 @@
 # not loaded at the address at which it was linked (as happens with ASLR for
 # instance).
 
-# REQUIRES: x86
-
 # RUN: yaml2obj %S/Inputs/debug_loc-aslr.yaml -o %t.dmp
 # RUN: llvm-mc --triple=x86_64-pc-linux --filetype=obj %s >%t.o
 # RUN: %lldb -c %t.dmp -o "image add %t.o" \
@@ -2,7 +2,6 @@
 # behavior in the invalid cases is not particularly important, but it should be
 # "reasonable".
 
-# REQUIRES: x86
 # UNSUPPORTED: lldb-repro
 
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s --defsym LOC=0 > %t
@@ -1,8 +1,6 @@
 # Test that we can handle DWARF 4 and 5 location lists in the same object file
 # (but different compile units).
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s loc" -o "image lookup -v -s loclists" \
 # RUN:   -o exit | FileCheck %s
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: cd %T
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s >debug_loclists-dwo.o
 # RUN: %lldb debug_loclists-dwo.o -o "image lookup -v -s lookup_loclists" -o exit | FileCheck %s
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s lookup_ranges" -o exit 2>&1 | FileCheck %s
 
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s lookup_ranges" -o exit | FileCheck %s
 
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: cd %T
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s >debug_rnglists-dwo.o
 # RUN: %lldb debug_rnglists-dwo.o -o "image lookup -v -s lookup_rnglists" \
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s lookup_rnglists" \
 # RUN:   -o "image lookup -v -s lookup_rnglists2" -o exit | FileCheck %s
@@ -2,7 +2,7 @@
 # does not have enough information for our heuristics to determine the path
 # style, so we will just treat them as native host paths.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t -z separate-code
@@ -1,7 +1,7 @@
 # Test that we properly determine the path syntax of a compile unit even if the
 # compile unit does not have a DW_AT_comp_dir attribute.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t -z separate-code
@@ -1,7 +1,7 @@
 # Test that parsing of line tables works reasonably, even if the host directory
 # separator does not match the separator of the compile unit.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t -z separate-code
@@ -1,7 +1,7 @@
 # Test that parsing of line tables works reasonably, even if the host directory
 # separator does not match the separator of the compile unit.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t -z separate-code
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "target variable integer structure" -o exit | FileCheck %s
 
@@ -1,5 +1,4 @@
 # Test handling of DWARF5 file index 0.
-# REQUIRES: x86
 
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "image lookup -f hello.c -l 1" \
@@ -1,8 +1,6 @@
 # Test handling of DWARF5 line tables. In particular, test that we handle files
 # which are present in the line table more than once.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "source info -f file0.c" -o "source info -f file1.c" \
 # RUN:   -o "breakpoint set -f file0.c -l 42" \
@@ -1,7 +1,5 @@
 # Test handling of DWARF5 DW_FORM_implicit_const as used by GCC.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "expression -T -- variable_implicit_const" \
 # RUN:   -o exit | FileCheck %s
@@ -1,7 +1,6 @@
 # Test handling of DWARF5 DW_FORM_line_strp from .debug_info as used by GCC.
 
 # UNSUPPORTED: system-darwin, system-windows
-# REQUIRES: x86
 
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "p main" \
@@ -1,6 +1,6 @@
 # This tests that lldb is able to process DW_OP_addrx tags introduced in dwarf5.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -g -dwarf-version=5 -triple x86_64-unknown-linux-gnu %s -filetype=obj > %t.o
 # RUN: ld.lld -m elf_x86_64 %t.o -o %t 
@@ -2,8 +2,6 @@
 # type, but that type is defined in another compile unit in the main object
 # file.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc %s -o %t --triple=x86_64-pc-linux --filetype=obj --defsym MAIN=0
 # RUN: llvm-mc %s -o %T/dwo-type-in-main-file-cu2.dwo --triple=x86_64-pc-linux --filetype=obj --defsym DWO=0
 # RUN: cd %T
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc --filetype=obj --triple x86_64-pc-linux %s -o %t --defsym MAIN=0
 # RUN: llvm-mc --filetype=obj --triple x86_64-pc-linux %s -o %t.dwp --defsym DWP=0
 # RUN: %lldb %t -o "type lookup ENUM0" -o "target variable A" -b | FileCheck %s
similarity index 99%
rename from lldb/test/Shell/SymbolFile/DWARF/dwp.s
rename to lldb/test/Shell/SymbolFile/DWARF/x86/dwp.s
index 7987299..3ae9673 100644 (file)
@@ -1,5 +1,3 @@
-# REQUIRES: x86
-
 # RUN: llvm-mc --filetype=obj --triple x86_64-pc-linux %s -o %t --defsym MAIN=0
 # RUN: llvm-mc --filetype=obj --triple x86_64-pc-linux %s -o %t.dwp --defsym DWP=0
 # RUN: %lldb %t -o "target variable A" -o "image lookup -v -n F1" -b | FileCheck %s
@@ -1,4 +1,4 @@
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t -z separate-code
@@ -1,4 +1,4 @@
-# REQUIRES: lld, x86
+# REQUIRES: lld
 ; RUN: llc -mtriple x86_64-pc-linux %S/inline-function-address.ll -filetype=obj -o %t.o
 ; RUN: ld.lld %t.o %t.o -o %t -shared
 ; RUN: lldb-test symbols --find=function --name=foo --function-flags=full %t | FileCheck %s
@@ -1,4 +1,4 @@
-; REQUIRES: lld, x86
+; REQUIRES: lld
 ; RUN: llc -mtriple x86_64-pc-linux %s -filetype=obj -o %t.o
 ; RUN: ld.lld %t.o %t.o -o %t
 ; "foo" is defined in both compilation units, but there should be only one meaningful debuginfo entry
@@ -1,4 +1,4 @@
-# REQUIRES: lld, x86
+# REQUIRES: lld
 # RUN: llvm-mc --triple=x86_64-pc-windows --filetype=obj --defsym DLL=0 %s >%t.dll.o
 # RUN: llvm-mc --triple=x86_64-pc-windows --filetype=obj --defsym EXE=0 %s >%t.exe.o
 # RUN: lld-link /OUT:%t.dll %t.dll.o /SUBSYSTEM:console /dll /noentry /debug
diff --git a/lldb/test/Shell/SymbolFile/DWARF/x86/lit.local.cfg b/lldb/test/Shell/SymbolFile/DWARF/x86/lit.local.cfg
new file mode 100644 (file)
index 0000000..41e9d97
--- /dev/null
@@ -0,0 +1,2 @@
+if not 'x86' in config.available_features:
+  config.unsupported = True
@@ -1,7 +1,5 @@
 # Stress-test the parallel indexing of compile units.
 
-# REQUIRES: x86
-
 # RUN: llvm-mc -triple x86_64-pc-linux %s -o %t -filetype=obj
 # RUN: %lldb %t -o "target variable A" -b | FileCheck %s
 
@@ -1,8 +1,6 @@
 # Test that the DWARF parser assigns the right scope to the
 # variable `b`, which is `local` and not `static`.
 
-# REQUIRES: x86
-
 # Original test case (for future reference), compiled with:
 # $ clang-10 -g -Og test.c -o test
 # $ cat test.c
@@ -1,4 +1,3 @@
-# REQUIRES: x86
 # REQUIRES: lld
 # RUN: %clang -target x86_64-pc-linux -g -O0 %S/Inputs/subprogram_ranges.s -o %t.o -c
 # RUN: ld.lld %t.o -o %t
@@ -1,7 +1,7 @@
 # Test that lldb can read a line table for an architecture with a different
 # address size than the one that of the host.
 
-# REQUIRES: lld, x86
+# REQUIRES: lld
 
 # RUN: llvm-mc -triple i686-windows-gnu %s -filetype=obj > %t.o
 # RUN: lld-link %t.o -out:%t.exe -debug:dwarf -entry:entry -subsystem:console -lldmingw