Make it possible to set the flags passed to the assembler.

Nick, please review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2010-08-10 18:55:09 +00:00
parent 9db3ea46cb
commit 98197e55c1
5 changed files with 43 additions and 0 deletions

View File

@@ -218,6 +218,16 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
cg->setAssemblerPath(path);
}
//
// sets extra arguments that libLTO should pass to the assembler
//
void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char** args,
int nargs)
{
cg->setAssemblerArgs(args, nargs);
}
//
// adds to a list of all global symbols that must exist in the final
// generated code. If a function is not listed there, it might be