[llvm] [JITLink][MachO][AArch64] Specify endianness, fix name of testcase. (PR #168323)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 16 22:39:44 PST 2025
https://github.com/lhames created https://github.com/llvm/llvm-project/pull/168323
The "MachO_ptrauth_noolloc_sections.yaml" testcase had a typo in the name, and didn't explicitly specify its endianness. This was causing it to fail when enabled on big endian platforms.
See conversation in https://github.com/llvm/llvm-project/pull/167902
>From 4f4d58b7a18ad800d5822d289a3dc9b150f471d1 Mon Sep 17 00:00:00 2001
From: Lang Hames <lhames at gmail.com>
Date: Mon, 17 Nov 2025 17:36:04 +1100
Subject: [PATCH] [JITLink][MachO][AArch64] Specify endianness, fix name of
testcase.
The "MachO_ptrauth_noolloc_sections.yaml" testcase had a typo in the name, and
didn't explicitly specify its endianness. This was causing it to fail when
enabled on big endian platforms.
See conversation in https://github.com/llvm/llvm-project/pull/167902
---
...noolloc_sections.yaml => MachO_ptrauth_noalloc_sections.yaml} | 1 +
1 file changed, 1 insertion(+)
rename llvm/test/ExecutionEngine/JITLink/AArch64/{MachO_ptrauth_noolloc_sections.yaml => MachO_ptrauth_noalloc_sections.yaml} (99%)
diff --git a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noolloc_sections.yaml b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noalloc_sections.yaml
similarity index 99%
rename from llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noolloc_sections.yaml
rename to llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noalloc_sections.yaml
index a2396aa776e10..c840d208a4910 100644
--- a/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noolloc_sections.yaml
+++ b/llvm/test/ExecutionEngine/JITLink/AArch64/MachO_ptrauth_noalloc_sections.yaml
@@ -16,6 +16,7 @@
# CHECK: llvm-jitlink error: {{.*}} unsupported edge kind Pointer64Authenticated
--- !mach-o
+IsLittleEndian: true
FileHeader:
magic: 0xFEEDFACF
cputype: 0x100000C
More information about the llvm-commits
mailing list