[lld] [llvm] [AArch64][ELF] Section alignment of 4 for AArch64 instruction (PR #114031)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 23:17:53 PST 2025
================
@@ -0,0 +1,32 @@
+// RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj -o %t.obj %s
----------------
MaskRay wrote:
Adding a new test is fine. Perhaps align-code.s
Please drop the non-meaningful triple aarch64-none-linux-gnu and switch to just `aarch64` (generic ELF), which is also short.
For ELF relocatable files, prefer `%t.o` to `%t.obj` (not COFF). Or just use `%t` in test/MC since almost all output files are ELF relocatable files.
https://github.com/llvm/llvm-project/pull/114031
More information about the llvm-commits
mailing list