Add "REQUIRES: x86" to DWARF assembly tests
authorPavel Labath <pavel@labath.sk>
Mon, 10 Jun 2019 15:08:00 +0000 (15:08 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 10 Jun 2019 15:08:00 +0000 (15:08 +0000)
These tests don't require an x86 host, but they do require that we build
the x86 llvm target.

llvm-svn: 362948

17 files changed:
lldb/lit/SymbolFile/DWARF/array-sizes.s
lldb/lit/SymbolFile/DWARF/childless-compile-unit.s
lldb/lit/SymbolFile/DWARF/debug-line-basic.s
lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s
lldb/lit/SymbolFile/DWARF/debug-types-signature-loop.s
lldb/lit/SymbolFile/DWARF/debug_aranges-empty-section.s
lldb/lit/SymbolFile/DWARF/debug_loc.s
lldb/lit/SymbolFile/DWARF/debug_ranges-missing-section.s
lldb/lit/SymbolFile/DWARF/debug_ranges.s
lldb/lit/SymbolFile/DWARF/debug_rnglists.s
lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s
lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s
lldb/lit/SymbolFile/DWARF/dir-separator-posix.s
lldb/lit/SymbolFile/DWARF/dir-separator-windows.s
lldb/lit/SymbolFile/DWARF/dwarf5_locations.s
lldb/lit/SymbolFile/DWARF/find-inline-method.s
lldb/lit/SymbolFile/DWARF/parallel-indexing-stress.s

index 610a0e3..f00fe2a 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index d167e05..a47c378 100644 (file)
@@ -2,6 +2,8 @@
 # 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
 
index 2c8024d..fc66f6a 100644 (file)
@@ -1,4 +1,4 @@
-# REQUIRES: lld
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index 5fc7c41..b12d146 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # 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
index d0d0fd5..addab83 100644 (file)
@@ -1,4 +1,4 @@
-# REQUIRES: lld
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux -o %t.o %s
 # RUN: ld.lld %t.o -o %t
index c99ac4d..4e9fabd 100644 (file)
@@ -1,5 +1,7 @@
 # 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
 
index 01533cc..ce7177d 100644 (file)
@@ -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 -a 0" -o "image lookup -v -a 2" -o exit \
 # RUN:   | FileCheck %s
index 4f6fece..98d4e91 100644 (file)
@@ -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 lookup_ranges" -o exit 2>&1 | FileCheck %s
 
index 9228680..bbe5cb2 100644 (file)
@@ -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 lookup_ranges" -o exit | FileCheck %s
 
index 0fd391a..5d95b80 100644 (file)
@@ -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 lookup_rnglists" -o exit | FileCheck %s
 
index f75a51e..2a798f1 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index 9e3281a..a1d0ea5 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index 976038a..14d1100 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index 30308ab..1ba03cc 100644 (file)
@@ -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
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index ad4511a..2cf16ca 100644 (file)
@@ -1,5 +1,7 @@
 # This tests that lldb is able to process DW_OP_addrx tags introduced in dwarf5.
-# REQUIRES: lld
+
+# REQUIRES: lld, x86
+
 # 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 
 # RUN: lldb-test symbols %t | FileCheck %s
index 6910130..c88c9a2 100644 (file)
@@ -1,4 +1,4 @@
-# REQUIRES: lld
+# REQUIRES: lld, x86
 
 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o
 # RUN: ld.lld %t.o -o %t
index 46e4c55..94b35e5 100644 (file)
@@ -1,5 +1,7 @@
 # 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