diff options
author | Devang Patel <dpatel@apple.com> | 2008-07-03 22:53:14 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-07-03 22:53:14 +0000 |
commit | 6fb602655a06f1d757606d9a7ec0558987ff58e8 (patch) | |
tree | ce345679fb8069e4bea6a3d9204d868044aac42e /include/llvm-c/lto.h | |
parent | 639dee91a803062997a3714d45dc1ac5ac6dc258 (diff) | |
download | external_llvm-6fb602655a06f1d757606d9a7ec0558987ff58e8.zip external_llvm-6fb602655a06f1d757606d9a7ec0558987ff58e8.tar.gz external_llvm-6fb602655a06f1d757606d9a7ec0558987ff58e8.tar.bz2 |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ 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 |