mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Provide a hook to set the code generation debug options to investigate lto failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53119 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -237,5 +237,11 @@ lto_codegen_compile(lto_code_gen_t cg, size_t* length)
|
||||
return cg->compile(length, sLastErrorString);
|
||||
}
|
||||
|
||||
extern void
|
||||
lto_codegen_debug_options(lto_code_gen_t cg, const char * opt)
|
||||
{
|
||||
cg->setCodeGenDebugOptions(opt);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user