[PATCH] D42446: [ThinLTO] Add a couple of more knobs to C API to control cache size.

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 17:11:31 PST 2018


steven_wu added a comment.

The API change is fine for ld64. But you need to do the following when you update LTO C API:

- You need to declare the interface in include/llvm-c/lto.h
- You need to bump LTO_API_VERSION in that header and document the new API is available since the new LTO_API_VERSION.
- You need to update tools/lto/lto.exports. This is the export list used by ld64 and only the interface listed in that file will be exported on darwin platform.


https://reviews.llvm.org/D42446





More information about the llvm-commits mailing list