[PATCH] D106378: RISCV: relax the ABI mismatch checking

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 10:09:18 PDT 2021


compnerd added a comment.

I agree that it is unfortunate that RISCV opted to put these flags into the `e_flags` field in the ELF header.  These are machine dependent and is ideally handled by something like `.riscv.attributes`.  In fact, ARM has such a model which does allow for the merging of the incompatible code, with a warning and all.  The problem here is that there is existing code which relies on this relaxed check.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106378/new/

https://reviews.llvm.org/D106378



More information about the llvm-commits mailing list