Displaying 1 result from an estimated 1 matches for "objcinfo".
Did you mean:
bcinfo
2019 Mar 22
2
[RFC] Upstream ObjCMetadata Reader Library
...with headers (in llvm/include/llvm/ObjCMetadata)[3], implementations (in llvm/lib/ObjCMetadata)[4] and we will also implement a tool similar to a stripped down version of [5] for testing.
Here is an example how to use the library by extracting and printing the objc class names:
```
MachOMetadata ObjCInfo(InputObject);
if (auto ObjCClasses = ObjCInfo.classes()) {
for (auto c : *ObjCClasses) {
auto ObjCClass = *c;
if (!ObjCClass) {
handleError(ObjCClass.takeError());
continue;
}
auto name = ObjCClass->getName();
if (!name) {
handleError(n...