summaryrefslogtreecommitdiff
path: root/include/llvm-c
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
commitfcee7227d5bc4302cfb46f37d5fbc0224c2ed6cf (patch)
treefd11a1e6aba2d52fd6169ef3926d3c211f44ad7d /include/llvm-c
parent879875f8029e8edf8089235c636086531dbaf857 (diff)
downloadllvm-fcee7227d5bc4302cfb46f37d5fbc0224c2ed6cf.tar.gz
llvm-fcee7227d5bc4302cfb46f37d5fbc0224c2ed6cf.tar.bz2
llvm-fcee7227d5bc4302cfb46f37d5fbc0224c2ed6cf.tar.xz
Style update: don't duplicate comments, they were getting out of sync.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/lto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h
index 9c2061acd6..84e22b32e0 100644
--- a/include/llvm-c/lto.h
+++ b/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
*/