[lld] [llvm] [RISCV] Fix alignment when mixing rvc/norvc relax/norelax code (PR #150159)

Kito Cheng via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 00:39:30 PDT 2025


kito-cheng wrote:

> Or you can just write a test case using llvm-mc to verify that the section layout and relocations are correct? You're just using ld.lld as an unnecessarily complicated "is my object file correct" predicate.

Hmmm, maybe I can keep lld testcase, but also add testcase for MC assembler 

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


More information about the llvm-commits mailing list