diff options
Diffstat (limited to 'tools/llc/llc.cpp')
-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)) { |