[PATCH] CFE Knob for: Add a thread-model knob for lowering atomics on baremetal & single threaded systems

Renato Golin renato.golin at linaro.org
Wed Sep 3 08:04:07 PDT 2014


================
Comment at: lib/CodeGen/BackendUtil.cpp:431
@@ +430,3 @@
+      .Case("posix", llvm::ThreadModel::POSIX)
+      .Case("single", llvm::ThreadModel::Single);
+
----------------
Shouldn't this have a .Default()? If so, which value?

http://reviews.llvm.org/D4985






More information about the cfe-commits mailing list