[llvm] [AArch64][ELF] Section alignment of 4 for AArch64 instruction (PR #114031)

Florin Popa via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 08:35:42 PDT 2024


================
@@ -0,0 +1,21 @@
+// RUN: llvm-mc -triple aarch64-windows -filetype obj -o %t.obj %s
+// RUN: llvm-objdump -d -r %t.obj | FileCheck %s
+
+.section sec00, "ax"
+nop
----------------
popaflorin wrote:

I have redone the test where I include various sections examples and check for the alignment with `readobj` and `readelf`

https://github.com/llvm/llvm-project/pull/114031


More information about the llvm-commits mailing list