summaryrefslogtreecommitdiff
path: root/include/clang/Driver/Tool.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-03 03:07:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-03 03:07:56 +0000
commit8767cbc475ed96397b6f08617814eeb9cab121bd (patch)
treee54fa788e38d32e6ed16eb12d1d2f6ac4e0c5395 /include/clang/Driver/Tool.h
parente393f4afcd1a5c3cd73697d838b064a9b5af832f (diff)
downloadclang-8767cbc475ed96397b6f08617814eeb9cab121bd.tar.gz
Driver: Add -[no-]integrated-as for clang.
- Requires backend support, which only exists for i386--darwin currently. No 'as' required: -- ddunbar@ozzy:tmp$ cat t.c int main() { return 42; } ddunbar@ozzy:tmp$ clang -m32 -integrated-as t.c ddunbar@ozzy:tmp$ ./a.out; echo $? 42 ddunbar@ozzy:tmp$ -- The random extra whitespace is how you know its working! :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Tool.h')
-rw-r--r--include/clang/Driver/Tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Driver/Tool.h b/include/clang/Driver/Tool.h
index 8a89f01e0f..851e4235b0 100644
--- a/include/clang/Driver/Tool.h
+++ b/include/clang/Driver/Tool.h
@@ -45,6 +45,7 @@ public:
virtual bool acceptsPipedInput() const = 0;
virtual bool canPipeOutput() const = 0;
+ virtual bool hasIntegratedAssembler() const { return false; }
virtual bool hasIntegratedCPP() const = 0;
/// ConstructJob - Construct jobs to perform the action \arg JA,