summaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
commitf859468f5a21b6952ab62917777f9fb3bba57003 (patch)
tree9794dc36f22f2a2b3f8063829d8a9b3a7794acc8 /tools/lto/lto.cpp
parentf76359690a7035ad21498f2ba6be6991d3b2032d (diff)
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index 7eb39ef210009..a0f67b44f5f24 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -198,7 +198,7 @@ bool lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model debug)
//
bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model)
{
- return cg->setCodePICModel(model, sLastErrorString);
+ return cg->setCodePICModel(model, sLastErrorString);
}
//
@@ -206,7 +206,7 @@ bool lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model model)
//
void lto_codegen_set_gcc_path(lto_code_gen_t cg, const char* path)
{
- cg->setGccPath(path);
+ cg->setGccPath(path);
}
//
@@ -224,7 +224,7 @@ void lto_codegen_set_assembler_path(lto_code_gen_t cg, const char* path)
//
void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol)
{
- cg->addMustPreserveSymbol(symbol);
+ cg->addMustPreserveSymbol(symbol);
}
@@ -235,7 +235,7 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, const char* symbol)
//
bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path)
{
- return cg->writeMergedModules(path, sLastErrorString);
+ return cg->writeMergedModules(path, sLastErrorString);
}
@@ -250,7 +250,7 @@ bool lto_codegen_write_merged_modules(lto_code_gen_t cg, const char* path)
extern const void*
lto_codegen_compile(lto_code_gen_t cg, size_t* length)
{
- return cg->compile(length, sLastErrorString);
+ return cg->compile(length, sLastErrorString);
}
@@ -262,6 +262,3 @@ lto_codegen_debug_options(lto_code_gen_t cg, const char * opt)
{
cg->setCodeGenDebugOptions(opt);
}
-
-
-