[driver][mips] Pass long-calls feature flag to the MIPS backend
authorSimon Atanasyan <simon@atanasyan.com>
Fri, 7 Jul 2017 10:35:33 +0000 (10:35 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Fri, 7 Jul 2017 10:35:33 +0000 (10:35 +0000)
commitdf406d18aa76f077f576aa928cfb131d3541eb7c
tree3a7cc222c762e0a7a21c84940e02317843cc542e
parent5ff6b8655a3f7b0b23dba272a3dc0c9add82897b
[driver][mips] Pass long-calls feature flag to the MIPS backend

Check the `-mlong-calls` command line option and pass the `long-calls`
feature flag to the backend. Handling of this feature flag in the backend
needs to be implemented by a separate commit.

llvm-svn: 307386
clang/lib/Driver/ToolChains/Arch/Mips.cpp
clang/test/Driver/mips-features.c