diff options
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r-- | tools/lto/lto.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp index 7bfddcd9ec..a3acd4c950 100644 --- a/tools/lto/lto.cpp +++ b/tools/lto/lto.cpp @@ -260,6 +260,10 @@ void lto_codegen_add_must_preserve_symbol(lto_code_gen_t cg, cg->addMustPreserveSymbol(symbol); } +void lto_codegen_add_dso_symbol(lto_code_gen_t cg, const char *symbol) { + cg->addDSOSymbol(symbol); +} + /// lto_codegen_write_merged_modules - Writes a new file at the specified path /// that contains the merged contents of all modules added so far. Returns true /// on error (check lto_get_error_message() for details). |