]> granicus.if.org Git - clang/commitdiff
Stub out printing of the thread model with -v.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 16 Jun 2009 23:32:58 +0000 (23:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 16 Jun 2009 23:32:58 +0000 (23:32 +0000)
 - Turns out libstdcxx greps for this in configure.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73582 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Driver.cpp

index 54704d48276c47a596489a7ef157fef51673bc9d..76a5c8b2c1f6bd7481e6b4c9581d41b17b450413 100644 (file)
@@ -356,10 +356,15 @@ void Driver::PrintVersion(const Compilation &C) const {
   // don't know what the client would like to do.
 
   llvm::errs() << "clang version " CLANG_VERSION_STRING " (" 
-               << vers << " " << revision << ")" << "\n";
+               << vers << " " << revision << ")" << '\n';
 
   const ToolChain &TC = C.getDefaultToolChain();
   llvm::errs() << "Target: " << TC.getTripleString() << '\n';
+
+  // Print the threading model.
+  //
+  // FIXME: Implement correctly.
+  llvm::errs() << "Thread model: " << "posix" << '\n';
 }
 
 bool Driver::HandleImmediateArgs(const Compilation &C) {