[PATCH] D57795: [RISCV] Add FreeBSD targets

Ed Maste via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 27 06:47:55 PDT 2019


emaste added inline comments.


================
Comment at: lib/Basic/Targets.cpp:379
       return new LinuxTargetInfo<RISCV32TargetInfo>(Triple, Opts);
-    return new RISCV32TargetInfo(Triple, Opts);
+    case llvm::Triple::FreeBSD:
+      return new FreeBSDTargetInfo<RISCV32TargetInfo>(Triple, Opts);
----------------
My usual pedantic point: let's start these off in alpha order for consistency when additional cases are added


Repository:
  rC Clang

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

https://reviews.llvm.org/D57795





More information about the cfe-commits mailing list