DavidSpickett created this revision.
Herald added subscribers: pengfei, arphaman.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

All these tests use x86 target triples.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100193

Files:
  lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value-bitfields.s
  lldb/test/Shell/SymbolFile/DWARF/DW_AT_data_bit_offset-DW_OP_stack_value.s
  lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s
  lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll
  lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s
  lldb/test/Shell/SymbolFile/DWARF/apple-index-is-used.cpp
  lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
  lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
  lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test
  lldb/test/Shell/SymbolFile/DWARF/debug-types-dwarf5.s
  lldb/test/Shell/SymbolFile/DWARF/debug-types-dwo-cross-reference.cpp
  lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
  lldb/test/Shell/SymbolFile/DWARF/debug_line-tombstone.s
  lldb/test/Shell/SymbolFile/DWARF/debug_ranges_and_rnglists.test
  lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp
  lldb/test/Shell/SymbolFile/DWARF/dwarf5-partial-index.cpp
  lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s
  lldb/test/Shell/SymbolFile/DWARF/dwarf5_tu_index_abbrev_offset.s
  lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-basic-namespace.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-basic-type.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-basic-variable.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-function-regex.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-method-local-struct.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-method.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-variable-dwo.cpp
  lldb/test/Shell/SymbolFile/DWARF/find-variable-file.cpp
  lldb/test/Shell/SymbolFile/DWARF/gnu-style-compression.cpp
  lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
  lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp
  lldb/test/Shell/SymbolFile/DWARF/split-dwarf-multiple-cu.ll

Index: lldb/test/Shell/SymbolFile/DWARF/split-dwarf-multiple-cu.ll
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/split-dwarf-multiple-cu.ll
+++ lldb/test/Shell/SymbolFile/DWARF/split-dwarf-multiple-cu.ll
@@ -1,6 +1,8 @@
 ; Check handling of dwo files with multiple compile units. Right now this is not
 ; supported, but it should not cause us to crash or misbehave either...
 
+; REQUIRES: x86
+
 ; RUN: llc %s -filetype=obj -o %t.o --split-dwarf-file=%t.o
 ; RUN: %lldb %t.o -o "image lookup -s x1 -v" -o "image lookup -s x2 -v" -b | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/split-dwarf-inlining.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: x86
+
 // RUN: %clangxx -target x86_64-pc-linux -gsplit-dwarf -g -fsplit-dwarf-inlining \
 // RUN:   -c %s -o %t
 // RUN: %lldb %t -o "breakpoint set -n foo" -b | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
+++ lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
@@ -1,3 +1,5 @@
+// REQUIRES: x86
+
 // RUN: %clang --target=x86_64-apple-macosx -g -gmodules -Wno-objc-root-class \
 // RUN:    -fmodules -fmodules-cache-path=%t.cache \
 // RUN:    -c -o %t.o %s -I%S/Inputs
Index: lldb/test/Shell/SymbolFile/DWARF/gnu-style-compression.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/gnu-style-compression.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/gnu-style-compression.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: zlib
+// REQUIRES: zlib, x86
 
 // RUN: %clang %s -target x86_64-pc-linux -g -gsplit-dwarf -c -o %t \
 // RUN:   -Wa,--compress-debug-sections=zlib-gnu
Index: lldb/test/Shell/SymbolFile/DWARF/find-variable-file.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-variable-file.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-variable-file.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang -g -c -o %t-1.o --target=x86_64-pc-linux -gno-pubnames %s
 // RUN: %clang -g -c -o %t-2.o --target=x86_64-pc-linux -gno-pubnames %S/Inputs/find-variable-file-2.cpp
Index: lldb/test/Shell/SymbolFile/DWARF/find-variable-dwo.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-variable-dwo.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-variable-dwo.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -gdwarf-5 -gpubnames -gsplit-dwarf -c -emit-llvm -o - --target=x86_64-pc-linux -DONE | \
 // RUN:   llc -filetype=obj -split-dwarf-file=%t-1.dwo -o %t-1.o
Index: lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: x86
+
 // RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
 // RUN: lldb-test symbols --name=A::foo --find=variable %t | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/find-method.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-method.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-method.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/find-method-local-struct.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-method-local-struct.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-method-local-struct.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: x86
+
 // RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
 // RUN: lldb-test symbols --name=foo --find=function --function-flags=method %t | \
 // RUN:   FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/find-function-regex.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-function-regex.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-function-regex.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/find-basic-variable.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-basic-variable.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-basic-variable.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/find-basic-type.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-basic-type.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-basic-type.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/find-basic-namespace.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-basic-namespace.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-basic-namespace.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/find-basic-function.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -g -c -o %t.o --target=x86_64-pc-linux -gno-pubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/dwp-separate-debug-file.cpp
@@ -1,4 +1,4 @@
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang -target x86_64-pc-linux -gsplit-dwarf -g -c %s -o %t.o
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/dwarf5_tu_index_abbrev_offset.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/dwarf5_tu_index_abbrev_offset.s
+++ lldb/test/Shell/SymbolFile/DWARF/dwarf5_tu_index_abbrev_offset.s
@@ -7,6 +7,8 @@
 ## from the TU are listed *AFTER* abbrevs from the CU so that they don't begin
 ## at offset 0.
 
+# REQUIRES: x86
+
 # RUN: llvm-mc --filetype=obj --triple x86_64 %s -o %t --defsym MAIN=1
 # RUN: llvm-mc --filetype=obj --triple x86_64 %s -o %t.dwp
 # RUN: %lldb %t -o "image lookup -t t1" -b | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s
+++ lldb/test/Shell/SymbolFile/DWARF/dwarf5-split.s
@@ -1,6 +1,8 @@
 ## This test checks that lldb reads debug info from a dwp file when the dwo_id
 ## is in a DWARF5 CU header instead of a DW_AT_GNU_dwo_id attribute.
 
+# REQUIRES: x86
+
 # RUN: llvm-mc --filetype=obj --triple x86_64 %s -o %t --defsym MAIN=1
 # RUN: llvm-mc --filetype=obj --triple x86_64 %s -o %t.dwp
 # RUN: %lldb %t -o "target variable i" -b | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/dwarf5-partial-index.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/dwarf5-partial-index.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/dwarf5-partial-index.cpp
@@ -1,7 +1,7 @@
 // Test that we return complete results when only a part of the binary is built
 // with an index.
 
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -c -o %t-1.o --target=x86_64-pc-linux -DONE -gdwarf-5 -gpubnames
 // RUN: llvm-readobj --sections %t-1.o | FileCheck %s --check-prefix NAMES
Index: lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/dwarf5-index-is-used.cpp
@@ -1,6 +1,6 @@
 // Test that we use the DWARF v5 name indexes.
 
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames
 // RUN: ld.lld %t.o -o %t
Index: lldb/test/Shell/SymbolFile/DWARF/debug_ranges_and_rnglists.test
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug_ranges_and_rnglists.test
+++ lldb/test/Shell/SymbolFile/DWARF/debug_ranges_and_rnglists.test
@@ -1,4 +1,4 @@
-# REQUIRES: lld
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %S/debug_ranges.s > %t-ranges.o
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %S/debug_rnglists.s > %t-rnglists.o
Index: lldb/test/Shell/SymbolFile/DWARF/debug_line-tombstone.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug_line-tombstone.s
+++ lldb/test/Shell/SymbolFile/DWARF/debug_line-tombstone.s
@@ -4,6 +4,8 @@
 # longer so that any attempt at an address binary search will likely land inside
 # the sequence.
 
+# REQUIRES: x86
+
 # RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t
 # RUN: %lldb -o "image lookup -n main -v" -o "image dump line-table main.cpp" \
 # RUN:   -o exit %t | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
+++ lldb/test/Shell/SymbolFile/DWARF/debug-types-missing-signature.test
@@ -1,5 +1,8 @@
 Create a dangling DW_AT_signature reference by stripping the debug_types
 section, and make sure lldb does something reasonable.
+
+REQUIRES: x86
+
 RUN: %clangxx -target x86_64-pc-linux %S/Inputs/debug-types-basic.cpp \
 RUN:   -g -gdwarf-4 -fdebug-types-section -c -o %t.o
 RUN: llvm-objcopy --remove-section=.debug_types %t.o %t
Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-dwo-cross-reference.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug-types-dwo-cross-reference.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/debug-types-dwo-cross-reference.cpp
@@ -1,7 +1,7 @@
 // Test that we can jump from a type unit in one dwo file into a type unit in a
 // different dwo file.
 
-// REQUIRES: lld
+// REQUIRES: lld, x86
 
 // RUN: %clang %s -target x86_64-pc-linux -fno-standalone-debug -g \
 // RUN:   -fdebug-types-section -gsplit-dwarf -c -o %t1.o -DONE
Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-dwarf5.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug-types-dwarf5.s
+++ lldb/test/Shell/SymbolFile/DWARF/debug-types-dwarf5.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
 # RUN: llvm-mc -triple=x86_64-pc-linux -filetype=obj %s > %t
 # RUN: %lldb %t -o "image lookup -v -s f1" -o exit | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test
+++ lldb/test/Shell/SymbolFile/DWARF/debug-types-basic.test
@@ -1,4 +1,4 @@
-# REQUIRES: lld
+# REQUIRES: lld, x86
 
 # Make sure DWARF v4 type units work.
 # RUN: %clangxx -target x86_64-pc-linux %S/Inputs/debug-types-basic.cpp \
Index: lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/debug-names-compressed.cpp
@@ -1,7 +1,7 @@
 // Test for a bug where we crashed while processing a compressed debug_names
 // section (use after free).
 
-// REQUIRES: lld, zlib
+// REQUIRES: lld, zlib, x86
 
 // RUN: %clang -c -o %t.o --target=x86_64-pc-linux -gdwarf-5 -gpubnames %s
 // RUN: ld.lld %t.o -o %t --compress-debug-sections=zlib
Index: lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
+++ lldb/test/Shell/SymbolFile/DWARF/compilercontext.ll
@@ -1,3 +1,5 @@
+; REQUIRES: x86
+
 ; Test finding types by CompilerContext.
 ; RUN: llc %s -filetype=obj -o %t.o
 ; RUN: lldb-test symbols %t.o -find=type --language=C99 \
Index: lldb/test/Shell/SymbolFile/DWARF/apple-index-is-used.cpp
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/apple-index-is-used.cpp
+++ lldb/test/Shell/SymbolFile/DWARF/apple-index-is-used.cpp
@@ -1,3 +1,5 @@
+// REQUIRES: x86
+
 // Test that we use the apple indexes.
 // RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
 // RUN: lldb-test symbols %t | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s
+++ lldb/test/Shell/SymbolFile/DWARF/DW_TAG_variable-invalid_location.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "target variable var" -b | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll
+++ lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll
@@ -15,6 +15,8 @@
 ;
 ; Note: lldb will print types differently before and after 'run'.
 ;
+; REQUIRES: x86
+;
 ; RUN: %clang --target=x86_64-pc-linux -c -g -o %t %s
 ; RUN: %lldb %t -o 'type lookup string' -o 'type lookup wstring' \
 ; RUN:   -o 'type lookup dstring' -o exit | FileCheck %s
Index: lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s
+++ lldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-struct.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-pc-linux %s
 # RUN: %lldb %t -o "target variable reset" -b | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/DW_AT_data_bit_offset-DW_OP_stack_value.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/DW_AT_data_bit_offset-DW_OP_stack_value.s
+++ lldb/test/Shell/SymbolFile/DWARF/DW_AT_data_bit_offset-DW_OP_stack_value.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-apple-macosx10.15.0 %s
 # RUN: %lldb %t -o "target variable ug" -b | FileCheck %s
 
Index: lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value-bitfields.s
===================================================================
--- lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value-bitfields.s
+++ lldb/test/Shell/SymbolFile/DWARF/DW_AT_const_value-bitfields.s
@@ -1,3 +1,5 @@
+# REQUIRES: x86
+
 # RUN: llvm-mc -filetype=obj -o %t -triple x86_64-apple-macosx10.15.0 %s
 # RUN: %lldb %t -o "target variable constant" -b | FileCheck %s
 
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to