From: Pavel Labath Date: Mon, 10 Jun 2019 15:08:00 +0000 (+0000) Subject: Add "REQUIRES: x86" to DWARF assembly tests X-Git-Tag: llvmorg-10-init~3387 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c573032ded9052cd2b905e4425a373ae2868385a;p=platform%2Fupstream%2Fllvm.git Add "REQUIRES: x86" to DWARF assembly tests These tests don't require an x86 host, but they do require that we build the x86 llvm target. llvm-svn: 362948 --- diff --git a/lldb/lit/SymbolFile/DWARF/array-sizes.s b/lldb/lit/SymbolFile/DWARF/array-sizes.s index 610a0e3..f00fe2a 100644 --- a/lldb/lit/SymbolFile/DWARF/array-sizes.s +++ b/lldb/lit/SymbolFile/DWARF/array-sizes.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 +# REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o # RUN: ld.lld %t.o -o %t diff --git a/lldb/lit/SymbolFile/DWARF/childless-compile-unit.s b/lldb/lit/SymbolFile/DWARF/childless-compile-unit.s index d167e05..a47c378 100644 --- a/lldb/lit/SymbolFile/DWARF/childless-compile-unit.s +++ b/lldb/lit/SymbolFile/DWARF/childless-compile-unit.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/debug-line-basic.s b/lldb/lit/SymbolFile/DWARF/debug-line-basic.s index 2c8024d..fc66f6a 100644 --- a/lldb/lit/SymbolFile/DWARF/debug-line-basic.s +++ b/lldb/lit/SymbolFile/DWARF/debug-line-basic.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s b/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s index 5fc7c41..b12d146 100644 --- a/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s +++ b/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/debug-types-signature-loop.s b/lldb/lit/SymbolFile/DWARF/debug-types-signature-loop.s index d0d0fd5..addab83 100644 --- a/lldb/lit/SymbolFile/DWARF/debug-types-signature-loop.s +++ b/lldb/lit/SymbolFile/DWARF/debug-types-signature-loop.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/debug_aranges-empty-section.s b/lldb/lit/SymbolFile/DWARF/debug_aranges-empty-section.s index c99ac4d..4e9fabd 100644 --- a/lldb/lit/SymbolFile/DWARF/debug_aranges-empty-section.s +++ b/lldb/lit/SymbolFile/DWARF/debug_aranges-empty-section.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/debug_loc.s b/lldb/lit/SymbolFile/DWARF/debug_loc.s index 01533cc..ce7177d 100644 --- a/lldb/lit/SymbolFile/DWARF/debug_loc.s +++ b/lldb/lit/SymbolFile/DWARF/debug_loc.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 -a 0" -o "image lookup -v -a 2" -o exit \ # RUN: | FileCheck %s diff --git a/lldb/lit/SymbolFile/DWARF/debug_ranges-missing-section.s b/lldb/lit/SymbolFile/DWARF/debug_ranges-missing-section.s index 4f6fece..98d4e91 100644 --- a/lldb/lit/SymbolFile/DWARF/debug_ranges-missing-section.s +++ b/lldb/lit/SymbolFile/DWARF/debug_ranges-missing-section.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 lookup_ranges" -o exit 2>&1 | FileCheck %s diff --git a/lldb/lit/SymbolFile/DWARF/debug_ranges.s b/lldb/lit/SymbolFile/DWARF/debug_ranges.s index 9228680..bbe5cb2 100644 --- a/lldb/lit/SymbolFile/DWARF/debug_ranges.s +++ b/lldb/lit/SymbolFile/DWARF/debug_ranges.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 lookup_ranges" -o exit | FileCheck %s diff --git a/lldb/lit/SymbolFile/DWARF/debug_rnglists.s b/lldb/lit/SymbolFile/DWARF/debug_rnglists.s index 0fd391a..5d95b80 100644 --- a/lldb/lit/SymbolFile/DWARF/debug_rnglists.s +++ b/lldb/lit/SymbolFile/DWARF/debug_rnglists.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 lookup_rnglists" -o exit | FileCheck %s diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s index f75a51e..2a798f1 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.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 +# REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o # RUN: ld.lld %t.o -o %t diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s index 9e3281a..a1d0ea5 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s b/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s index 976038a..14d1100 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s b/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s index 30308ab..1ba03cc 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/dwarf5_locations.s b/lldb/lit/SymbolFile/DWARF/dwarf5_locations.s index ad4511a..2cf16ca 100644 --- a/lldb/lit/SymbolFile/DWARF/dwarf5_locations.s +++ b/lldb/lit/SymbolFile/DWARF/dwarf5_locations.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/find-inline-method.s b/lldb/lit/SymbolFile/DWARF/find-inline-method.s index 6910130..c88c9a2 100644 --- a/lldb/lit/SymbolFile/DWARF/find-inline-method.s +++ b/lldb/lit/SymbolFile/DWARF/find-inline-method.s @@ -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 diff --git a/lldb/lit/SymbolFile/DWARF/parallel-indexing-stress.s b/lldb/lit/SymbolFile/DWARF/parallel-indexing-stress.s index 46e4c55..94b35e5 100644 --- a/lldb/lit/SymbolFile/DWARF/parallel-indexing-stress.s +++ b/lldb/lit/SymbolFile/DWARF/parallel-indexing-stress.s @@ -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