summaryrefslogtreecommitdiff
path: root/include/llvm-c/lto.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-07-03 22:53:14 +0000
committerDevang Patel <dpatel@apple.com>2008-07-03 22:53:14 +0000
commita93ae711a91dd151ca4d28e4172e0de89d1594f3 (patch)
treece345679fb8069e4bea6a3d9204d868044aac42e /include/llvm-c/lto.h
parenta122f2f51e4cc9edc5f1c4020e51909b585a0f90 (diff)
downloadllvm-a93ae711a91dd151ca4d28e4172e0de89d1594f3.tar.gz
llvm-a93ae711a91dd151ca4d28e4172e0de89d1594f3.tar.bz2
llvm-a93ae711a91dd151ca4d28e4172e0de89d1594f3.tar.xz
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
Diffstat (limited to 'include/llvm-c/lto.h')
-rw-r--r--include/llvm-c/lto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 508e871ec4..c57dfe7306 100644
--- a/include/llvm-c/lto.h
+++ b/include/llvm-c/lto.h
@@ -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