summaryrefslogtreecommitdiff
path: root/view/sharedcache/api/python/__init__.py
diff options
context:
space:
mode:
authorWeiN76LQh <WeiN76LQh@github.com>2024-11-21 19:01:44 +0000
committerkat <kat@vector35.com>2024-12-26 10:41:53 -0500
commit934104743a0e3071606277692822be4b853288ac (patch)
tree863ee27429bdaeb5f4e56bf4ce08ca1b9a4178dd /view/sharedcache/api/python/__init__.py
parent08d91f14061c54134038fadc2d333a3aa3da0fe1 (diff)
[SharedCache] Fix post-processing of Objective-C sections
Prior to this commit the function `DSCObjCProcessor::PostProcessObjCSections` never does anything because it doesn't use the correct names to get the Objective-C sections of the recently loaded library. In fact it never does anything because the DSC never has sections with the names its searching for. This commit passes the `baseName` (the name of the library that was loaded), which is what other Objective-C section processing code does. Combining the base name with the section names it will now find them and process them as intended. This was resulting in alot of Objective-C related stuff being missed. There is however still an issue of the fact that the way this DSC plugin works means it only analyzes Objective-C sections once. This catches alot of things but there are a number of cases where other libraries need to be loaded first due to information being referenced in another library. For instance errors like `Failed to determine base classname for category` can be caused by the class reference in the category being to a class outside of the loaded library. Once the library containing the class has been loaded, the section containing the category should be re-proccessed.
Diffstat (limited to 'view/sharedcache/api/python/__init__.py')
0 files changed, 0 insertions, 0 deletions