[llvm] c5ab55f - [Orc] Enable debug object tests only on x86_64 hosts

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 11 03:09:57 PDT 2021


Author: Stefan Gränitz
Date: 2021-08-11T12:07:46+02:00
New Revision: c5ab55f5331c9da3c352b61d10d2f8a470a08b5b

URL: https://github.com/llvm/llvm-project/commit/c5ab55f5331c9da3c352b61d10d2f8a470a08b5b
DIFF: https://github.com/llvm/llvm-project/commit/c5ab55f5331c9da3c352b61d10d2f8a470a08b5b.diff

LOG: [Orc] Enable debug object tests only on x86_64 hosts

These tests rely on running IR code with an explicit x86_64 target triple. They won't work on other architectures. (They won't work for 32-bit processes on x86_64 hosts either. We will take care of this later.)

Differential Revision: https://reviews.llvm.org/D107640

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
    llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll b/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
index 1c17edb337a12..a8781a84bb7bf 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
+++ b/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
@@ -1,3 +1,5 @@
+; REQUIRES: x86_64
+
 ; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
 ; RUN:     --generate=__dump_jit_debug_descriptor %s | FileCheck %s
 ;

diff  --git a/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll b/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
index 3bf1a98268f96..85c1215c68841 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
+++ b/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
@@ -1,3 +1,5 @@
+; REQUIRES: x86_64
+
 ; In-memory debug-object contains some basic DWARF
 ;
 ; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \


        


More information about the llvm-commits mailing list