[llvm-branch-commits] [llvm] c8905f1 - [Orc] Enable debug object tests only on x86_64 hosts

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Sep 2 14:16:54 PDT 2021


Author: Stefan Gränitz
Date: 2021-09-02T14:16:41-07:00
New Revision: c8905f1bb304f1cfe297312ae0dda9946cb27594

URL: https://github.com/llvm/llvm-project/commit/c8905f1bb304f1cfe297312ae0dda9946cb27594
DIFF: https://github.com/llvm/llvm-project/commit/c8905f1bb304f1cfe297312ae0dda9946cb27594.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

(cherry picked from commit c5ab55f5331c9da3c352b61d10d2f8a470a08b5b)

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-branch-commits mailing list