[PATCH] D27123: Add AVR target and toolchain to Clang

Dylan McKay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 10 03:04:39 PST 2016


dylanmckay added inline comments.


================
Comment at: lib/Basic/Targets.cpp:8543
+  case llvm::Triple::avr:
+    return new AVRTargetInfo(Triple, Opts);
   case llvm::Triple::bpfeb:
----------------
If we build clang without `LLVM_EXPERIMENTAL_TARGETS_TO_BUILD=AVR`, how will this work?

Will it fail compilation? Will `clang` report that AVR is supported? Will it crash if you try and run `clang`?


https://reviews.llvm.org/D27123





More information about the cfe-commits mailing list