mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-02 23:26:31 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user