[llvm] [CHERI][RISCV] Do not attempt to pass in an alignment granule for globals with explicit sections. (PR #218189)

Owen Anderson via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 05:01:09 PDT 2026


================
@@ -24,3 +24,10 @@
 ; CHERIOT-NEXT:  .zero 6995
 ; CHERIOT-NEXT:  .size global1, 7008
 ; CHERIOT:  .p2align 4, 0x0
+
+ at global_in_section = global [6995 x i8] zeroinitializer, section "foo", align 1
----------------
resistor wrote:

Done

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


More information about the llvm-commits mailing list