Switch LTO to use MC. This takes the linking of libxul.so from about 7m to

6m30.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2011-02-24 21:04:06 +00:00
parent f410608271
commit e9efea1194
3 changed files with 35 additions and 129 deletions

View File

@@ -231,7 +231,7 @@ void lto_codegen_set_cpu(lto_code_gen_t cg, const char* cpu)
//
void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
{
cg->setAssemblerPath(path);
// In here only for backwards compatibility. We use MC now.
}
@@ -241,7 +241,7 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
void lto_codegen_set_assembler_args(lto_code_gen_t cg, const char** args,
int nargs)
{
cg->setAssemblerArgs(args, nargs);
// In here only for backwards compatibility. We use MC now.
}
//