[PATCH] D150240: [RISCV] RISCVELFTargetObjectFile: use 2-byte alignment for .text if RVC

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 20:24:22 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCObjectFileInfo.cpp:15
 #include "RISCVMCTargetDesc.h"
+#include "RISCVSubtarget.h"
 #include "llvm/MC/MCContext.h"
----------------
Isn't this a layering violation?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150240



More information about the llvm-commits mailing list