[llvm] af07ec3 - [JITLink][PowerPC] Enable more tests for ppc64 big-endian target. NFC.
Kai Luo via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 7 00:54:11 PDT 2023
Author: Kai Luo
Date: 2023-08-07T15:52:58+08:00
New Revision: af07ec316fee636292668cd5a8c1fabcb9091a96
URL: https://github.com/llvm/llvm-project/commit/af07ec316fee636292668cd5a8c1fabcb9091a96
DIFF: https://github.com/llvm/llvm-project/commit/af07ec316fee636292668cd5a8c1fabcb9091a96.diff
LOG: [JITLink][PowerPC] Enable more tests for ppc64 big-endian target. NFC.
Added:
Modified:
llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s
llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s
index 4960bfc55f3e89..3b84768ce78665 100644
--- a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s
+++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_ehframe.s
@@ -2,6 +2,9 @@
# RUN: llvm-mc -triple=powerpc64le-unknown-linux-gnu -filetype=obj -o %t %s
# RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \
# RUN: FileCheck %s
+# RUN: llvm-mc -triple=powerpc64-unknown-linux-gnu -filetype=obj -o %t %s
+# RUN: llvm-jitlink -noexec -phony-externals -debug-only=jitlink %t 2>&1 | \
+# RUN: FileCheck %s
#
# Check that splitting of eh-frame sections works.
#
diff --git a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
index 6df20014ba65ac..74d7379c44ba8e 100644
--- a/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
+++ b/llvm/test/ExecutionEngine/JITLink/ppc64/ELF_ppc64_relocations.s
@@ -6,6 +6,13 @@
# RUN: --abs external_func=0xcafef00d \
# RUN: --abs external_func_notoc=0x88880000 \
# RUN: --check %s %t/elf_reloc.o
+# RUN: llvm-mc --triple=powerpc64-unknown-linux-gnu --filetype=obj -o \
+# RUN: %t/elf_reloc.o %s
+# RUN: not llvm-jitlink --noexec \
+# RUN: --abs external_data=0xdeadbeef \
+# RUN: --abs external_func=0xcafef00d \
+# RUN: --abs external_func_notoc=0x88880000 \
+# RUN: --check %s %t/elf_reloc.o
# jitlink-check: section_addr(elf_reloc.o, $__GOT) + 0x8000 = __TOC__
.text
More information about the llvm-commits
mailing list