OSDN Git Service

[ThinLTO][CachePruning] explicitly disable pruning
authorBen Dunbobbin <bd1976llvm@gmail.com>
Fri, 22 Dec 2017 18:32:15 +0000 (18:32 +0000)
committerBen Dunbobbin <bd1976llvm@gmail.com>
Fri, 22 Dec 2017 18:32:15 +0000 (18:32 +0000)
commit463ba76180cc06c5f2c0f1cfc97913ef48314456
treef3e7cba76cb1526a75d5fd20d4094979bb4af091
parentb166e6723e7979bb3ebb4946c683ad5f4ced04f9
[ThinLTO][CachePruning] explicitly disable pruning

In https://reviews.llvm.org/rL321077 and https://reviews.llvm.org/D41231 I fixed a regression in the c-api which prevented the pruning from being *effectively* disabled.

However this approach, helpfully recommended by @labath, is cleaner.
It is also nice to remove the weasel words about effectively disabling from the api comments.

Differential Revision: https://reviews.llvm.org/D41497

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321376 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/lto.h
include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
include/llvm/Support/CachePruning.h
lib/Support/CachePruning.cpp