From b48aea43d00de5091af58b449978a033423ab4c5 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Mon, 8 Feb 2021 23:34:41 -0800 Subject: [PATCH] [test] Add REQUIRES: x86-registered-target to DebugInfo/Symbolize/ELF llvm-mc tests --- llvm/test/DebugInfo/Symbolize/ELF/symtab-file.s | 1 + llvm/test/DebugInfo/Symbolize/ELF/symtab-ifunc.s | 1 + llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s | 1 + llvm/test/DebugInfo/Symbolize/ELF/symtab-notype.s | 1 + 4 files changed, 4 insertions(+) diff --git a/llvm/test/DebugInfo/Symbolize/ELF/symtab-file.s b/llvm/test/DebugInfo/Symbolize/ELF/symtab-file.s index c486603..5408748 100644 --- a/llvm/test/DebugInfo/Symbolize/ELF/symtab-file.s +++ b/llvm/test/DebugInfo/Symbolize/ELF/symtab-file.s @@ -1,3 +1,4 @@ +# REQUIRES: x86-registered-target ## When locating a local symbol, we can obtain the filename according to the ## preceding STT_FILE symbol. # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t diff --git a/llvm/test/DebugInfo/Symbolize/ELF/symtab-ifunc.s b/llvm/test/DebugInfo/Symbolize/ELF/symtab-ifunc.s index 0c6b447..06d736a 100644 --- a/llvm/test/DebugInfo/Symbolize/ELF/symtab-ifunc.s +++ b/llvm/test/DebugInfo/Symbolize/ELF/symtab-ifunc.s @@ -1,3 +1,4 @@ +# REQUIRES: x86-registered-target ## Test we can symbolize STT_GNU_IFUNC symbols. # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t # RUN: llvm-symbolizer --obj=%t 0 1 diff --git a/llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s b/llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s index 9818e0a..c76df5c 100644 --- a/llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s +++ b/llvm/test/DebugInfo/Symbolize/ELF/symtab-ignored.s @@ -1,3 +1,4 @@ +# REQUIRES: x86-registered-target ## Ignore STT_SECTION and STT_TLS symbols for .symtab symbolization. # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t # RUN: llvm-symbolizer --obj=%t 0 | FileCheck %s diff --git a/llvm/test/DebugInfo/Symbolize/ELF/symtab-notype.s b/llvm/test/DebugInfo/Symbolize/ELF/symtab-notype.s index 80d152e..773f534 100644 --- a/llvm/test/DebugInfo/Symbolize/ELF/symtab-notype.s +++ b/llvm/test/DebugInfo/Symbolize/ELF/symtab-notype.s @@ -1,3 +1,4 @@ +# REQUIRES: x86-registered-target ## STT_NOTYPE symbols are common in assembly files. Test we can symbolize them. # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t # RUN: llvm-symbolizer --obj=%t --inlines 0 1 2 3 4 5 6 7 | FileCheck %s -- 2.7.4