diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-18 05:31:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-18 05:31:20 +0000 |
commit | 8b57ff75be6888b597335875aea5ee9d0874b5f2 (patch) | |
tree | 8b0fdaf92bc2b889a12eaa8ff1ebb46cbdecfd68 /tools/llc | |
parent | 6a58e0e144785483bbf252750c5369a1437e3a09 (diff) | |
download | external_llvm-8b57ff75be6888b597335875aea5ee9d0874b5f2.zip external_llvm-8b57ff75be6888b597335875aea5ee9d0874b5f2.tar.gz external_llvm-8b57ff75be6888b597335875aea5ee9d0874b5f2.tar.bz2 |
Add a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r-- | tools/llc/llc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 357eedd..d95aea7 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -216,6 +216,9 @@ int main(int argc, char **argv) { sys::RemoveFileOnSignal(sys::Path(OutputFilename)); } } + + if (FileType != TargetMachine::AssemblyFile) + std::cerr << "WARNING: only -filetype=asm is currently supported.\n"; // Ask the target to add backend passes as necessary. if (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) { |