[Lldb-commits] [lldb] r362948 - Add "REQUIRES: x86" to DWARF assembly tests
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 10 08:08:01 PDT 2019
Author: labath
Date: Mon Jun 10 08:08:00 2019
New Revision: 362948
URL: http://llvm.org/viewvc/llvm-project?rev=362948&view=rev
Log:
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.
Modified:
lldb/trunk/lit/SymbolFile/DWARF/array-sizes.s
lldb/trunk/lit/SymbolFile/DWARF/childless-compile-unit.s
lldb/trunk/lit/SymbolFile/DWARF/debug-line-basic.s
lldb/trunk/lit/SymbolFile/DWARF/debug-types-address-ranges.s
lldb/trunk/lit/SymbolFile/DWARF/debug-types-signature-loop.s
lldb/trunk/lit/SymbolFile/DWARF/debug_aranges-empty-section.s
lldb/trunk/lit/SymbolFile/DWARF/debug_loc.s
lldb/trunk/lit/SymbolFile/DWARF/debug_ranges-missing-section.s
lldb/trunk/lit/SymbolFile/DWARF/debug_ranges.s
lldb/trunk/lit/SymbolFile/DWARF/debug_rnglists.s
lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s
lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s
lldb/trunk/lit/SymbolFile/DWARF/dir-separator-posix.s
lldb/trunk/lit/SymbolFile/DWARF/dir-separator-windows.s
lldb/trunk/lit/SymbolFile/DWARF/dwarf5_locations.s
lldb/trunk/lit/SymbolFile/DWARF/find-inline-method.s
lldb/trunk/lit/SymbolFile/DWARF/parallel-indexing-stress.s
Modified: lldb/trunk/lit/SymbolFile/DWARF/array-sizes.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/array-sizes.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/array-sizes.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/array-sizes.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/childless-compile-unit.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/childless-compile-unit.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/childless-compile-unit.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/childless-compile-unit.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug-line-basic.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug-line-basic.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug-line-basic.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug-line-basic.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug-types-address-ranges.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug-types-address-ranges.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug-types-address-ranges.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug-types-address-ranges.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug-types-signature-loop.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug-types-signature-loop.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug-types-signature-loop.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug-types-signature-loop.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug_aranges-empty-section.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug_aranges-empty-section.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug_aranges-empty-section.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug_aranges-empty-section.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug_loc.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug_loc.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug_loc.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug_loc.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug_ranges-missing-section.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug_ranges-missing-section.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug_ranges-missing-section.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug_ranges-missing-section.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug_ranges.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug_ranges.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug_ranges.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug_ranges.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/debug_rnglists.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/debug_rnglists.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/debug_rnglists.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/debug_rnglists.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/dir-separator-posix.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dir-separator-posix.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dir-separator-posix.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dir-separator-posix.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/dir-separator-windows.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dir-separator-windows.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dir-separator-windows.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dir-separator-windows.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/dwarf5_locations.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/dwarf5_locations.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/dwarf5_locations.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/dwarf5_locations.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/find-inline-method.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/find-inline-method.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/find-inline-method.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/find-inline-method.s Mon Jun 10 08:08:00 2019
@@ -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
Modified: lldb/trunk/lit/SymbolFile/DWARF/parallel-indexing-stress.s
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/SymbolFile/DWARF/parallel-indexing-stress.s?rev=362948&r1=362947&r2=362948&view=diff
==============================================================================
--- lldb/trunk/lit/SymbolFile/DWARF/parallel-indexing-stress.s (original)
+++ lldb/trunk/lit/SymbolFile/DWARF/parallel-indexing-stress.s Mon Jun 10 08:08:00 2019
@@ -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
More information about the lldb-commits
mailing list