aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2008-07-08 21:14:10 +0000
committerNick Kledzik <kledzik@apple.com>2008-07-08 21:14:10 +0000
commit920ae9863b51ce1e33a1bf702e672e0483c04cd8 (patch)
tree6f084860ab58fbc4f521a22089811f3d62f53977 /tools/lto/lto.cpp
parent71e8685633e7938ee752004cceedccbd0d850527 (diff)
fix dangling pointer and argv off by one errors. Add support for --disable-inlining
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index b674f3171e..227823f32f 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -237,6 +237,10 @@ lto_codegen_compile(lto_code_gen_t cg, size_t* length)
return cg->compile(length, sLastErrorString);
}
+
+//
+// Used to pass extra options to the code generator
+//
extern void
lto_codegen_debug_options(lto_code_gen_t cg, const char * opt)
{