summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c/lto.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-03 14:34:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-03 14:34:48 +0000
commitb62e6b453537dd00ac37ed52220ca0935a845ede (patch)
treeffe83f4be36f510cf352585de873c18f3e5c3ea3 /llvm/include/llvm-c/lto.h
parentf6ba52b9473e1016121ac24cee7c06f98b867fd5 (diff)
downloadbcm5719-llvm-b62e6b453537dd00ac37ed52220ca0935a845ede.tar.gz
bcm5719-llvm-b62e6b453537dd00ac37ed52220ca0935a845ede.zip
Style update: don't duplicate comments, they were getting out of sync.
llvm-svn: 207909
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r--llvm/include/llvm-c/lto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h
index 9c2061acd62..84e22b32e0c 100644
--- a/llvm/include/llvm-c/lto.h
+++ b/llvm/include/llvm-c/lto.h
@@ -403,8 +403,9 @@ lto_codegen_set_assembler_args(lto_code_gen_t cg, const char **args,
int nargs);
/**
- * Tells LTO optimization passes that this symbol must be preserved
- * because it is referenced by native code or a command line option.
+ * Adds to a list of all global symbols that must exist in the final generated
+ * code. If a function is not listed there, it might be inlined into every usage
+ * and optimized away.
*
* \since prior to LTO_API_VERSION=3
*/
OpenPOWER on IntegriCloud