summaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index f60f7b5ac0..b674f3171e 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -237,5 +237,11 @@ lto_codegen_compile(lto_code_gen_t cg, size_t* length)
return cg->compile(length, sLastErrorString);
}
+extern void
+lto_codegen_debug_options(lto_code_gen_t cg, const char * opt)
+{
+ cg->setCodeGenDebugOptions(opt);
+}
+