[PATCH] D45864: [RISCV] Support .option rvc and norvc

Sameer AbuAsal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 22 15:16:41 PDT 2018


sabuasal added inline comments.


================
Comment at: lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h:21
+
+  virtual void emitDirectiveOptionRVC();
+  virtual void emitDirectiveOptionNoRVC();
----------------
This should be pure virtual method that you only implement in your RISCVTsargetELFstreamer and your RISCVASMstreamer. Making it virtual causes extra entries for your vtable.

Look at MCStreamer.h line 62


Repository:
  rL LLVM

https://reviews.llvm.org/D45864





More information about the llvm-commits mailing list