summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita0e4fb82837e0e35303f90fa129884731359de9f (patch)
tree5980881939ac299048d687ed14c96aba9ef4e83d /llvm/include/llvm-c/lto.h
parent69ba008ea340deab34c1565f812d59657c138c31 (diff)
downloadbcm5719-llvm-a0e4fb82837e0e35303f90fa129884731359de9f.tar.gz
bcm5719-llvm-a0e4fb82837e0e35303f90fa129884731359de9f.zip
Provide a hook to set the code generation debug options to investigate lto failures.
llvm-svn: 53119
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r--llvm/include/llvm-c/lto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 508e871ec4c..c57dfe7306d 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/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
OpenPOWER on IntegriCloud