[lld] [llvm] [RISCV] Support RISCV Atomics ABI attributes (PR #84597)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 13:31:51 PDT 2024


================
@@ -44,6 +44,39 @@
 # RUN: not ld.lld a.o b.o c.o diff_stack_align.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=STACK_ALIGN --implicit-check-not=error:
 # STACK_ALIGN: error: diff_stack_align.o:(.riscv.attributes) has stack_align=32 but a.o:(.riscv.attributes) has stack_align=16
 
+## merging atomic_abi values for A6C and A7 lead to an error.
----------------
MaskRay wrote:

Mismatched

Upper case. And there is a better word than "merging"

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


More information about the llvm-commits mailing list