commit | 45e997da60432acabe2118fa68c56a44504645e9 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Mon Jul 11 23:10:18 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Mon Jul 11 23:10:18 2016 +0000 |
tree | 07a4ec304475867a7a930e9c78b118aa430db69a | |
parent | 9e937064ea231bceb6ca13df6dd09e6cbeaeb6aa [diff] |
Add a libLTO API to query a memory buffer and check if it contains ObjC categories The linker supports a feature to force load an object from a static archive if it defines an Objective-C category. This API supports this feature by looking at every section in the module to find if a category is defined in the module. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275125 91177308-0d34-0410-b5e6-96231b3b80d8