[llvm] [Orc][examples] Fix lljit-with-remote-debugging test failure (PR #74764)
Thomas Preud'homme via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 13:16:53 PST 2023
https://github.com/RoboTux created https://github.com/llvm/llvm-project/pull/74764
Test lljit-with-remote-debugging fails on AArch64 because the
argc_sub1_elf.ll input file have a x86_64 target triple. Since there is
no way to set the target triple when invoking LLJITWithRemoteDebugging
let's require x86_64 target to be the default target.
>From 4896e0d4172107637a5c5ed4a6a22d49e5820916 Mon Sep 17 00:00:00 2001
From: Thomas Preud'homme <thomas.preudhomme at arm.com>
Date: Wed, 6 Dec 2023 14:42:07 +0000
Subject: [PATCH] Fix lljit-with-remote-debugging test failure on !x86
Test lljit-with-remote-debugging fails on AArch64 because the
argc_sub1_elf.ll input file have a x86_64 target triple. Since there is
no way to set the target triple when invoking LLJITWithRemoteDebugging
let's require x86_64 target to be the default target.
---
.../Examples/OrcV2Examples/lljit-with-remote-debugging.test | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test b/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
index b0b33503a1eece..18d1f25947ca39 100644
--- a/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
+++ b/llvm/test/Examples/OrcV2Examples/lljit-with-remote-debugging.test
@@ -1,8 +1,7 @@
# This test makes sure that the example builds and executes as expected.
# Instructions for debugging can be found in LLJITWithRemoteDebugging.cpp
-# REQUIRES: default_triple
-# UNSUPPORTED: target=powerpc64{{.*}}
+# REQUIRES: target-x86_64
# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll | FileCheck --check-prefix=CHECK0 %s
# CHECK0: Parsing input IR code from: {{.*}}/Inputs/argc_sub1_elf.ll
More information about the llvm-commits
mailing list