mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Add a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6a58e0e144
commit
8b57ff75be
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user