diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-24 01:00:08 +0000 | 
| commit | c7dac04c3480f3c20487f912f77343139fce2d99 (patch) | |
| tree | 21a09bce0171e27bd1e92649db9df797fa097cea /include/llvm-c/lto.h | |
| parent | 044eb2f6afba375a914ac9d8024f8f5142bb912e (diff) | |
Notes
Diffstat (limited to 'include/llvm-c/lto.h')
| -rw-r--r-- | include/llvm-c/lto.h | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/include/llvm-c/lto.h b/include/llvm-c/lto.h index 8d45b7832041..55f3e46c45ed 100644 --- a/include/llvm-c/lto.h +++ b/include/llvm-c/lto.h @@ -757,17 +757,17 @@ extern void thinlto_codegen_add_cross_referenced_symbol(thinlto_code_gen_t cg,   * @ingroup LLVMCTLTO   *   * These entry points control the ThinLTO cache. The cache is intended to - * support incremental build, and thus needs to be persistent accross build. - * The client enabled the cache by supplying a path to an existing directory. + * support incremental builds, and thus needs to be persistent across builds. + * The client enables the cache by supplying a path to an existing directory.   * The code generator will use this to store objects files that may be reused   * during a subsequent build.   * To avoid filling the disk space, a few knobs are provided: - *  - The pruning interval limit the frequency at which the garbage collector - *    will try to scan the cache directory to prune it from expired entries. - *    Setting to -1 disable the pruning (default). + *  - The pruning interval limits the frequency at which the garbage collector + *    will try to scan the cache directory to prune expired entries. + *    Setting to a negative number disables the pruning.   *  - The pruning expiration time indicates to the garbage collector how old an   *    entry needs to be to be removed. - *  - Finally, the garbage collector can be instructed to prune the cache till + *  - Finally, the garbage collector can be instructed to prune the cache until   *    the occupied space goes below a threshold.   * @{   */ @@ -782,7 +782,7 @@ extern void thinlto_codegen_set_cache_dir(thinlto_code_gen_t cg,                                            const char *cache_dir);  /** - * Sets the cache pruning interval (in seconds). A negative value disable the + * Sets the cache pruning interval (in seconds). A negative value disables the   * pruning. An unspecified default value will be applied, and a value of 0 will   * be ignored.   * | 
