[LLVMdev] Target-specific defaults for LLVM tools?
joerg at britannica.bec.de
Tue Mar 17 16:54:32 PDT 2015
On Tue, Mar 17, 2015 at 04:35:07PM -0700, Steve King wrote:
> Clang correctly assembled a .s file when using the -integrated-as
> option. Thanks, that is news to me! However, without -integrated-as,
> clang invoked 'as', which won't work for a GNU-less target. Accepting
> assembler invocation as a good case study for target specific clang
> defaults, what is the proper solution?
Look for hasIntegratedAssembler and IsIntegratedAssemblerDefault.
More information about the llvm-dev