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:
Devang Patel
2008-07-03 22:53:14 +00:00
parent a122f2f51e
commit a93ae711a9
4 changed files with 29 additions and 2 deletions

View File

@ -227,6 +227,11 @@ extern const void*
lto_codegen_compile(lto_code_gen_t cg, size_t* length);
/**
* Sets options to help debug codegen bugs.
*/
extern void
lto_codegen_debug_options(lto_code_gen_t cg, const char *);
#ifdef __cplusplus
}
#endif