[cfe-commits] r73582 - /cfe/trunk/lib/Driver/Driver.cpp
Daniel Dunbar
daniel at zuster.org
Tue Jun 16 16:32:59 PDT 2009
Author: ddunbar
Date: Tue Jun 16 18:32:58 2009
New Revision: 73582
URL: http://llvm.org/viewvc/llvm-project?rev=73582&view=rev
Log:
Stub out printing of the thread model with -v.
- Turns out libstdcxx greps for this in configure.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=73582&r1=73581&r2=73582&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Tue Jun 16 18:32:58 2009
@@ -356,10 +356,15 @@
// 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) {
More information about the cfe-commits
mailing list