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
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 508e871..c57dfe7 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -227,6 +227,11 @@
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