summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-16 23:32:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-16 23:32:58 +0000
commit10978e414cbec89258d699e915696b18e791d45d (patch)
tree1e4ec17b0256d4fe7815059a88210b1bf3d56e0b /clang/lib/Driver/Driver.cpp
parent1b3ec3a0003aaa154a93b923c0944063d4c2ed59 (diff)
downloadbcm5719-llvm-10978e414cbec89258d699e915696b18e791d45d.tar.gz
bcm5719-llvm-10978e414cbec89258d699e915696b18e791d45d.zip
Stub out printing of the thread model with -v.
- Turns out libstdcxx greps for this in configure. llvm-svn: 73582
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r--clang/lib/Driver/Driver.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index 54704d48276..76a5c8b2c1f 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -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) {
OpenPOWER on IntegriCloud